[X-Unix] DYLD_LIBRARY_PATH
Brian Medley
bpm-list-osx-unix at 4321.tv
Mon Mar 7 17:06:26 PST 2005
On Tue, Mar 08, 2005 at 12:15:28AM +0000, Phil Dobbin wrote:
> I'm having great difficulty using libtool to link DSOs after I
> upgraded httpd.
>
> Upon completion of `make install' when trying to start the
> server I got this error message:
>
> ---------------------------------------------------------
>
> /Library/Apache2/bin/apachectl start
> dyld: /Library/Apache2/bin/httpd version mismatch for library:
> /Library/Apache2/lib/libexpat.0.dylib (compatibility version of
> user: 5.0.0 greater than library's version: 2.0.0)
> /Library/Apache2/bin/apachectl: line 87: 15100 Trace/BPT trap $HTTPD -k $ARGV
>
> ----------------------------------------------------------
If I'm reading this error message correctly it is saying that the
/Library/Apache2/lib/libexpat.0.dylib is version 2.0.0 and you
need 5.0.0? Is libexpat.0.dylib a symlink? If so, what does it
point to?
> I believe one way is to use DYLD_LIBRARY_PATH (I'm using bash)
> but am struggling. The `make install' advised:
>
> If you ever happen to want to link against installed libraries
> in a given directory, LIBDIR, you must either use libtool, and
> specify the full pathname of the library, or use the `-LLIBDIR'
> flag during linking and do at least one of the following:
> - add LIBDIR to the `DYLD_LIBRARY_PATH' environment variable
> during execution
>
> I have asked on the Apache Users list but with no success and
> I'm wondering if anybody could give me any tips.
--
~`^`'~=-._.-=~'`^`'~=-._.-=~'^'~=-., \|/ (___) \|/ _,.-=~'`^`
@~./'O o`\.~@
"Knowledge is Power" /__( \___/ )__\ *PPPFFBT!*
-- Francis Bacon `\__`U_/'
_.-=~'``'~=-._.-=~'``'~=-._.-=~'`^`'~= <____|' ^^`'~=-.,__,.-=
~'^`'~=-._.-=~'`^`'~=-._.-=~'^'~=-.,__,.-==--^'~=-.,__,.-=~'`^`
More information about the X-Unix
mailing list