Date: Fri, 11 Apr 2003 19:31:45 -0400 From: "Timothy R. Simmons" <tsimmons77@comcast.net> To: Giorgos Keramidas <keramida@ceid.upatras.gr>, freebsd-questions <freebsd-questions@freebsd.org> Subject: Re: Greetings! Message-ID: <3E975061.2070703@comcast.net> References: <3EBFA476.8070905@comcast.net> <20030411235111.GA11650@gothmog.gr>
next in thread | previous in thread | raw e-mail | index | archive | help
Okay, I wasn't clear, and I appologize. Thankfully, you did answer my question! I was searching for ldconfig. When I had said I was installing programs written for linux, I should have said _compiling_. My biggest problem was dependencies. I would compile a library, then fail to run ldconfig to update the database, and attempt to install a program that called for that library. Thank you ever so much, I appreciate it! Giorgos Keramidas wrote: >On 2003-05-12 09:41, "Timothy R. Simmons" <tsimmons77@comcast.net> wrote: > > > >>I have a (hopefully) simple question, so please forgive my ignorance. >>But heck, we all have to start somewhere. Okay, I've been using >>FreeBSD for about a month now, and am tinkeringly famliar with C and >>C++ coding, which is to say, I usetacould. Anyway, I've been >>installing some programs designed primarily for linux systems, which >>seem to use an ld.so.conf file in /etc to point to libraries, which >>updates, I'm guessing, LD_LIBRARY_PATH environment variable. Neither >>of these seem to exist in the BSD world, so here's my question. >> >> > >ldconfig works a bit differently in FreeBSD. Read the ldconfig manpage >for the authoritative documentation. > > > >>How do I update the path where libraries and header files are searched >>for? BSD seems to like to put things in /usr/lib, /usr/bin, >>etc.. where as the programs I'm installing are placing these files, by >>default, in /usr/local/lib, /usr/local/bin, etc., which isn't IN my >>path for lib and bin files. I can see where it sets the path on boot, >>but can't manage to figure out how to change it. Any help would be >>appreciated. >> >> > >If this isn't what you're referring to: > >$ grep /local/lib /etc/defaults/rc.conf >/etc/defaults/rc.conf:ldconfig_paths="/usr/lib/compat /usr/X11R6/lib /usr/local/lib" >/etc/defaults/rc.conf:ldconfig_paths_aout="/usr/lib/compat/aout /usr/X11R6/lib/aout /usr/local/lib/aout" > >then I don't know what you're asking. Perhaps, if you provided more >details about the programs and/or libraris you're installing and what >you have done so far in order to use them? > >- Giorgos > >_______________________________________________ >freebsd-questions@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-questions >To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3E975061.2070703>