Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Sep 1999 10:46:42 +0200
From:      Johan Pettersson <johpe159@student.liu.se>
To:        "freebsd-questions@FreeBSD.ORG" <freebsd-questions@FreeBSD.ORG>
Subject:   shared libraries
Message-ID:  <37EDDD72.7DE12BD2@student.liu.se>

next in thread | raw e-mail | index | archive | help
Hello!

I have installed  glib-1.2.3. And got following output

>Libraries have been installed in:
>/usr/local/lib

>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 `-LLIBDIR'
>flag during linking and do at least one of the following:
>   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
>     during execution
>   - add LIBDIR to the `LD_RUN_PATH' environment variable
>     during linking
>   - use the `-Wl,--rpath -Wl,LIBDIR' linker flag

I have read libtool  --help, but do not understand :(
Can anyone help me with the syntax after libtool ?  (libtool [OPTION]...
[MODE-ARG]...)
In linux there was a file /etc/ld.so.conf, does fbsd use libtool instead
of ld.so.conf ?

//thx Johan




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?37EDDD72.7DE12BD2>