Re: Learn more about ld-elf and FreeBSD
What kind of questions do you have? On 6/23/06, swygue <[EMAIL PROTECTED]> wrote: Corey, Thanks for your help, /usr/local/pgsql/lib/ permission was: 2 drwx-- 2 root wheel I changed it to pgsql:pgsql, and it work's. Where can I find more information about shared library objects ? I read ldconfig, ldd, ld manpages, but I'm looking for a broader explanation. -Rod On 6/23/06, Corey Brune <[EMAIL PROTECTED]> wrote: > > That's interesting. Would you email me the output of these commands? > > echo $LD_LIBRARY_PATH > ls > file libpq.so.3 > > Thanks, > > Corey > > On 6/22/06, swygue <[EMAIL PROTECTED] > wrote: > > > > Corey, > > > > Thanks for your response, I did set the LD_LIBRARY_PATH but ldd still > > can't find it. > > > > [EMAIL PROTECTED]>ldd /usr/local/postgresql-7.4.2/bin/psql > > /usr/local/pgsql/bin/psql: > > libpq.so.3 => not found (0x0) > > libpam.so.1 => /usr/lib/libpam.so.1 (0x28086000) > > libz.so.2 => /usr/lib/libz.so.2 (0x2809) > > libreadline.so.4 => /usr/lib/libreadline.so.4 (0x2809d000) > > libcrypt.so.2 => /usr/lib/libcrypt.so.2 (0x280c2000) > > libm.so.2 => /usr/lib/libm.so.2 (0x280db000) > > libutil.so.3 => /usr/lib/libutil.so.3 (0x280f7000) > > libc.so.4 => /usr/lib/libc.so.4 (0x2810) > > libncurses.so.5 => /usr/lib/libncurses.so.5 (0x2819a000) > > > > > > -Rod > > > > > > On 6/22/06, Corey Brune < [EMAIL PROTECTED]> wrote: > > > > > > Have you tried setting LD_LIBRARY_PATH to include the directory > > > where libpq is? Are you getting this error after psql or something like it? > > > If you haven't, then set LD_LIBRARY_PATH, then type 'ldd '. This > > > will tell you which libs are found and which are not. > > > > > > Hope this helps. > > > Corey > > > > > > > > > On 6/22/06, swygue < [EMAIL PROTECTED]> wrote: > > > > > > > Once in a while I get some error, looking like this: > > > > > > /usr/libexec/ld-elf.so.1: Shared object "libpq.so.3" not found > > > > > > This specific error was a result of trying to connect to a > > > postgresql-7.4.2 database running on FreeBSD, 4.6.2. And yes the > > > server is in the process of being decommissioned. > > > > > > I was wondering how have others resolve problems related to ld-elf > > > and > > > shared objects ? And where can I find more information about ld-elf > > > and FreeBSD ? > > > > > > Thanks > > > > > > -- > > > swygue neron --->> > > > ___ > > > freebsd-questions@freebsd.org mailing list > > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > > To unsubscribe, send any mail to "[EMAIL PROTECTED] > > > " > > > > > > > > > > > > -- > > swygue neron --->> > > > > -- swygue neron --->> ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Learn more about ld-elf and FreeBSD
Corey, Thanks for your help, /usr/local/pgsql/lib/ permission was: 2 drwx-- 2 root wheel I changed it to pgsql:pgsql, and it work's. Where can I find more information about shared library objects ? I read ldconfig, ldd, ld manpages, but I'm looking for a broader explanation. -Rod On 6/23/06, Corey Brune <[EMAIL PROTECTED]> wrote: That's interesting. Would you email me the output of these commands? echo $LD_LIBRARY_PATH ls file libpq.so.3 Thanks, Corey On 6/22/06, swygue <[EMAIL PROTECTED]> wrote: > > Corey, > > Thanks for your response, I did set the LD_LIBRARY_PATH but ldd still > can't find it. > > [EMAIL PROTECTED]>ldd /usr/local/postgresql-7.4.2/bin/psql > /usr/local/pgsql/bin/psql: > libpq.so.3 => not found (0x0) > libpam.so.1 => /usr/lib/libpam.so.1 (0x28086000) > libz.so.2 => /usr/lib/libz.so.2 (0x2809) > libreadline.so.4 => /usr/lib/libreadline.so.4 (0x2809d000) > libcrypt.so.2 => /usr/lib/libcrypt.so.2 (0x280c2000) > libm.so.2 => /usr/lib/libm.so.2 (0x280db000) > libutil.so.3 => /usr/lib/libutil.so.3 (0x280f7000) > libc.so.4 => /usr/lib/libc.so.4 (0x2810) > libncurses.so.5 => /usr/lib/libncurses.so.5 (0x2819a000) > > > -Rod > > > On 6/22/06, Corey Brune < [EMAIL PROTECTED]> wrote: > > > > Have you tried setting LD_LIBRARY_PATH to include the directory where > > libpq is? Are you getting this error after psql or something like it? If you > > haven't, then set LD_LIBRARY_PATH, then type 'ldd '. This will tell > > you which libs are found and which are not. > > > > Hope this helps. > > Corey > > > > > > On 6/22/06, swygue < [EMAIL PROTECTED]> wrote: > > > > > Once in a while I get some error, looking like this: > > > > /usr/libexec/ld-elf.so.1: Shared object "libpq.so.3" not found > > > > This specific error was a result of trying to connect to a > > postgresql-7.4.2 database running on FreeBSD, 4.6.2. And yes the > > server is in the process of being decommissioned. > > > > I was wondering how have others resolve problems related to ld-elf and > > shared objects ? And where can I find more information about ld-elf > > and FreeBSD ? > > > > Thanks > > > > -- > > swygue neron --->> > > ___ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to "[EMAIL PROTECTED] > > " > > > > > > > -- > swygue neron --->> > -- swygue neron --->> ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Learn more about ld-elf and FreeBSD
That's interesting. Would you email me the output of these commands? echo $LD_LIBRARY_PATH ls file libpq.so.3 Thanks, Corey On 6/22/06, swygue <[EMAIL PROTECTED]> wrote: Corey, Thanks for your response, I did set the LD_LIBRARY_PATH but ldd still can't find it. [EMAIL PROTECTED]>ldd /usr/local/postgresql-7.4.2/bin/psql /usr/local/pgsql/bin/psql: libpq.so.3 => not found (0x0) libpam.so.1 => /usr/lib/libpam.so.1 (0x28086000) libz.so.2 => /usr/lib/libz.so.2 (0x2809) libreadline.so.4 => /usr/lib/libreadline.so.4 (0x2809d000) libcrypt.so.2 => /usr/lib/libcrypt.so.2 (0x280c2000) libm.so.2 => /usr/lib/libm.so.2 (0x280db000) libutil.so.3 => /usr/lib/libutil.so.3 (0x280f7000) libc.so.4 => /usr/lib/libc.so.4 (0x2810) libncurses.so.5 => /usr/lib/libncurses.so.5 (0x2819a000) -Rod On 6/22/06, Corey Brune <[EMAIL PROTECTED]> wrote: > > Have you tried setting LD_LIBRARY_PATH to include the directory where > libpq is? Are you getting this error after psql or something like it? If you > haven't, then set LD_LIBRARY_PATH, then type 'ldd '. This will tell > you which libs are found and which are not. > > Hope this helps. > Corey > > > On 6/22/06, swygue < [EMAIL PROTECTED]> wrote: > > > Once in a while I get some error, looking like this: > > /usr/libexec/ld-elf.so.1: Shared object "libpq.so.3" not found > > This specific error was a result of trying to connect to a > postgresql-7.4.2 database running on FreeBSD, 4.6.2. And yes the > server is in the process of being decommissioned. > > I was wondering how have others resolve problems related to ld-elf and > shared objects ? And where can I find more information about ld-elf > and FreeBSD ? > > Thanks > > -- > swygue neron --->> > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED] > " > > -- swygue neron --->> ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Learn more about ld-elf and FreeBSD
Corey, Thanks for your response, I did set the LD_LIBRARY_PATH but ldd still can't find it. [EMAIL PROTECTED]>ldd /usr/local/postgresql-7.4.2/bin/psql /usr/local/pgsql/bin/psql: libpq.so.3 => not found (0x0) libpam.so.1 => /usr/lib/libpam.so.1 (0x28086000) libz.so.2 => /usr/lib/libz.so.2 (0x2809) libreadline.so.4 => /usr/lib/libreadline.so.4 (0x2809d000) libcrypt.so.2 => /usr/lib/libcrypt.so.2 (0x280c2000) libm.so.2 => /usr/lib/libm.so.2 (0x280db000) libutil.so.3 => /usr/lib/libutil.so.3 (0x280f7000) libc.so.4 => /usr/lib/libc.so.4 (0x2810) libncurses.so.5 => /usr/lib/libncurses.so.5 (0x2819a000) -Rod On 6/22/06, Corey Brune <[EMAIL PROTECTED]> wrote: Have you tried setting LD_LIBRARY_PATH to include the directory where libpq is? Are you getting this error after psql or something like it? If you haven't, then set LD_LIBRARY_PATH, then type 'ldd '. This will tell you which libs are found and which are not. Hope this helps. Corey On 6/22/06, swygue <[EMAIL PROTECTED]> wrote: > Once in a while I get some error, looking like this: /usr/libexec/ld-elf.so.1: Shared object "libpq.so.3" not found This specific error was a result of trying to connect to a postgresql-7.4.2 database running on FreeBSD, 4.6.2. And yes the server is in the process of being decommissioned. I was wondering how have others resolve problems related to ld-elf and shared objects ? And where can I find more information about ld-elf and FreeBSD ? Thanks -- swygue neron --->> ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to " [EMAIL PROTECTED]" -- swygue neron --->> ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Learn more about ld-elf and FreeBSD
Have you tried setting LD_LIBRARY_PATH to include the directory where libpq is? Are you getting this error after psql or something like it? If you haven't, then set LD_LIBRARY_PATH, then type 'ldd '. This will tell you which libs are found and which are not. Hope this helps. Corey On 6/22/06, swygue <[EMAIL PROTECTED]> wrote: Once in a while I get some error, looking like this: /usr/libexec/ld-elf.so.1: Shared object "libpq.so.3" not found This specific error was a result of trying to connect to a postgresql-7.4.2 database running on FreeBSD, 4.6.2. And yes the server is in the process of being decommissioned. I was wondering how have others resolve problems related to ld-elf and shared objects ? And where can I find more information about ld-elf and FreeBSD ? Thanks -- swygue neron --->> ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to " [EMAIL PROTECTED]" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Learn more about ld-elf and FreeBSD
Once in a while I get some error, looking like this: /usr/libexec/ld-elf.so.1: Shared object "libpq.so.3" not found This specific error was a result of trying to connect to a postgresql-7.4.2 database running on FreeBSD, 4.6.2. And yes the server is in the process of being decommissioned. I was wondering how have others resolve problems related to ld-elf and shared objects ? And where can I find more information about ld-elf and FreeBSD ? Thanks -- swygue neron --->> ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"