From owner-freebsd-questions Sun Sep 26 3:46:26 1999 Delivered-To: freebsd-questions@freebsd.org Received: from studentmail.liu.se (student.liu.se [130.236.230.10]) by hub.freebsd.org (Postfix) with ESMTP id 7633D14D04 for ; Sun, 26 Sep 1999 03:46:17 -0700 (PDT) (envelope-from johpe159@student.liu.se) Received: from student.liu.se (b152.ryd.student.liu.se [130.236.233.152]) by studentmail.liu.se (Postfix) with ESMTP id 6C4965BBAE for ; Sun, 26 Sep 1999 12:46:16 +0200 (MET DST) Message-ID: <37EDDD72.7DE12BD2@student.liu.se> Date: Sun, 26 Sep 1999 10:46:42 +0200 From: Johan Pettersson X-Mailer: Mozilla 4.61 [en] (X11; I; FreeBSD 3.3-19990909-RC i386) X-Accept-Language: en MIME-Version: 1.0 To: "freebsd-questions@FreeBSD.ORG" Subject: shared libraries Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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