Linking Static Lib(UnixODBC) In Another Static Lib(libodbc++-mt.a)
Prabu RM <[email protected]> Mon, 27 May 2013 15:29:56 +0530
| Newsgroups | gmane.comp.db.unixodbc.devel |
|---|---|
| Message-ID | <CADn94sAEee8t5=934SLghvNfEkuH8UYNjH90d5exZ6-qhmHyJQ@mail.gmail.com> |
Hi Support, In linux linking a static lib to another static is not so easy and we believe that it is not supported. In order to achieve that we need to extract both the .a separately to their objects and need to make them single. But in UnixODBC/LibODBC we used to keep our application which binds both UnixODBC & LibODBC in static. Eg: /usr/local/lib/libodbc++-mt.a, /usr/local/lib/libodbc.a The connectivity b/w our application and MySQL server looks like below. *Application Binary(c++) -> LibODBC -> UnixODBC -> MySQL Driver -> MySQL Server* * * If so how do you link *UnixODBC Static Lib(*libodbc.a*) *in* LibODBC Static Lib(*libodbc++-mt.a*) creation?* * * Thanks Advance, Regards, Prabu RM. _______________________________________________ unixODBC-dev mailing list [email protected] http://mailman.unixodbc.org/mailman/listinfo/unixodbc-dev