|
google site
|
|||||||
| Forums | Register | Blog | Man Pages | Forum Rules | Links | Albums | FAQ | Users | Calendar | Search | Today's Posts | Mark Forums Read |
| Linux RedHat, Ubuntu, SUSE, Fedora, Debian, Mandriva, Slackware, Gentoo linux, PCLinuxOS. All Linux questions here! |
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Compiling with multiple versions of a library
Hello!
I have a set of headers and libraries I want to use but they are mixed with ones I do not want to use. They are part of some official stuff, so I cannot modify them while begging and pleading for weeks. These headers and libraries are located here /long/official/path/to/include /long/official/path/to/lib respectively Inside the "include" directory there is another directory "goodies" which is outdated. I have a private version of goodies located /latest/greatest/include/goodies that I compiled to produce /latest/greatest/lib/libGoodies but I had to compile this against the /long/official/path/to/include headers. Now I want to use all of this to compile a program. I want all of headers and libs in /long/official/path/to/ but I want goodies from /latest/greatest/ When I compile I use -I/latest/greatest/include -L//latest/greatest/lib/ -lGoodies -I/long/official/path/to/include -L /long/official/path/to/lib -lThis -That -lLotsMore and it complains that a function in /latest/greatest/lib/libGoodies.so has undefined references which are files that are located in /long/official/path/to/include I tried -I/latest/greatest/include -I/long/official/path/to/include -L/latest/greatest/lib/ -lGoodies -L /long/official/path/to/lib -lThis -That -lLotsMore but the errors persist... If you have followed this far, can you please tell me how to fix this. Its driving me NUTS!!! Thanks! |
| Sponsored Links | ||
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Compiling kernel mnodule spanning multiple files | natraj | Programming | 0 | 03-25-2009 04:49 AM |
| library -lc: not found when compiling ncurses 5.7 in Solaris 10 | Linux Bot | Solaris BigAdmin RSS | 0 | 03-13-2009 07:20 AM |
| Compiling multiple cpp files (abstract factory pattern) | SaTYR | Programming | 4 | 06-13-2008 04:55 AM |
| Using multiple java versions in unix | umen | UNIX for Dummies Questions & Answers | 2 | 09-05-2005 10:44 AM |
| How to manage multiple versions of a set of shell and SQL script utilities | DennisB | Shell Programming and Scripting | 2 | 06-23-2004 08:13 AM |