|
|
|
|
#1 |
|
Prospect
Join Date: May 2005
Location: England
Posts: 14
|
Hi
hope someone can help i am trying to compile a unix commandline programme (dvdauthor) but when i run ./configure i get a message saying that it cant find a library, the lib has actually been installed via dawinports and is at /op/local/lib i have tried setting LIB,DYLD_LIBRARY_PATH and LD_LIBRARY_PATH in my bash profile but cant get the extra dirs recognized by config even though they show up as set if i type env in the terminal, if i use a symlink the config works fine so i know the librarys themselves are ok but obviously keep makeing symlinks is not the best way to do things i just want to add extra search paths like i do for executable any help would be appreciated
__________________
wish i could tpye |
|
|
|
|
|
#2 |
|
Major Leaguer
Join Date: Feb 2004
Location: Lincoln, NE
Posts: 278
|
I know that most configure scripts will have an option to direct them to specific libraries that they need. This won't solve all your library issues like setting some sort of search path, but it will work on a configure by configure basis. I would try running ./configure --help and see if there is an option to specify a library path.
__________________
~Jayson <www.kempinger.us> |
|
|
|
|
|
#3 |
|
All Star
Join Date: Jan 2002
Location: CO, USA
Posts: 908
|
Don't mess with the DYLD_* vars (you can break stuff if you do it wrong). The following should work:
Code:
env CPPFLAGS="-I/opt/local/include" LDFLAGS="-L/opt/local/lib" ./configure |
|
|
|
|
|
#4 |
|
Prospect
Join Date: May 2005
Location: England
Posts: 14
|
spot on! worked perfectly thanks a bunch
__________________
wish i could tpye |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|