Re: Learn more about ld-elf and FreeBSD

2006-06-23 Thread swygue

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 path to libpq.so.3
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 command'. 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]


Learn more about ld-elf and FreeBSD

2006-06-22 Thread swygue

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]


Re: Learn more about ld-elf and FreeBSD

2006-06-22 Thread swygue

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 command'. 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]


Building Xorg CVS, FcMatchFont, FcMatchPattern error

2005-07-06 Thread swygue
I am trying to install Xorg from CVS. I created /usr/Xorg6.8.3 and
linked it to /usr/X11R6.
Then I went to Xorg cvs directory on my computer and issued:

# make World

Then I got this error:

*** Error code 1

Stop in /usr/src/cvs/xc/lib/Xft1.
*** Error code 1

Stop in /usr/src/cvs/xc/lib.
*** Error code 1

Stop in /usr/src/cvs/xc.
*** Error code 1

Stop in /usr/src/cvs/xc.
*** Error code 1

Stop in /usr/src/cvs/xc.

I verified that /usr/X11R6/include/fontconfig/fontconfig.h exists. 
Here is the entire error message:

In file included from xftcfg.c:28:
xftint.h:29:35: fontconfig/fontconfig.h: No such file or directory
In file included from XftFreetype.h:28,
 from xftint.h:31,
 from xftcfg.c:28:
Xft.h:89: error: syntax error before XftType
Xft.h:89: warning: type defaults to `int' in declaration of `XftType'
Xft.h:89: error: ISO C forbids data definition with no type or storage class
Xft.h:91: error: syntax error before XftMatrix
Xft.h:91: warning: type defaults to `int' in declaration of `XftMatrix'
Xft.h:91: error: ISO C forbids data definition with no type or storage class
Xft.h:95: error: syntax error before XftResult
Xft.h:95: warning: type defaults to `int' in declaration of `XftResult'
Xft.h:95: error: ISO C forbids data definition with no type or storage class
Xft.h:109: error: syntax error before XftValue
Xft.h:109: warning: type defaults to `int' in declaration of `XftValue'
Xft.h:109: error: ISO C forbids data definition with no type or storage class
Xft.h:112: error: syntax error before XftPattern
Xft.h:112: warning: type defaults to `int' in declaration of `XftPattern'
Xft.h:112: error: ISO C forbids data definition with no type or storage class
Xft.h:114: error: syntax error before XftFontSet
Xft.h:114: warning: type defaults to `int' in declaration of `XftFontSet'
Xft.h:114: error: ISO C forbids data definition with no type or storage class
Xft.h:124: error: syntax error before XftPattern
Xft.h:142: error: syntax error before XftObjectSet
Xft.h:142: warning: type defaults to `int' in declaration of `XftObjectSet'
Xft.h:142: error: ISO C forbids data definition with no type or storage class
Xft.h:148: error: syntax error before '*' token
Xft.h:148: warning: function declaration isn't a prototype
Xft.h:175: error: syntax error before v
Xft.h:175: warning: function declaration isn't a prototype
Xft.h:178: error: syntax error before '*' token
Xft.h:178: warning: function declaration isn't a prototype
Xft.h:181: error: syntax error before '*' token
Xft.h:181: warning: function declaration isn't a prototype
Xft.h:189: error: syntax error before XftPattern
Xft.h:189: warning: function declaration isn't a prototype
Xft.h:192: error: syntax error before XftPattern
Xft.h:192: warning: function declaration isn't a prototype
Xft.h:293: error: syntax error before '*' token
Xft.h:294: error: syntax error before XftPattern
Xft.h:294: warning: type defaults to `int' in declaration of `XftFontMatch'
Xft.h:294: warning: function declaration isn't a prototype
Xft.h:294: error: ISO C forbids data definition with no type or storage class
Xft.h:297: error: syntax error before XftPattern
Xft.h:297: warning: function declaration isn't a prototype
Xft.h:317: error: syntax error before '*' token
Xft.h:318: warning: type defaults to `int' in declaration of `XftFontSetCreate'
Xft.h:318: error: ISO C forbids data definition with no type or storage class
Xft.h:321: error: syntax error before '*' token
Xft.h:321: warning: function declaration isn't a prototype
Xft.h:324: error: syntax error before '*' token
Xft.h:324: warning: function declaration isn't a prototype
Xft.h:338: error: syntax error before '*' token
Xft.h:339: warning: type defaults to `int' in declaration of
`XftObjectSetCreate'
Xft.h:339: error: ISO C forbids data definition with no type or storage class
Xft.h:342: error: syntax error before '*' token
Xft.h:342: warning: function declaration isn't a prototype
Xft.h:345: error: syntax error before '*' token
Xft.h:345: warning: function declaration isn't a prototype
Xft.h:347: error: syntax error before '*' token
Xft.h:348: warning: type defaults to `int' in declaration of
`XftObjectSetVaBuild'
Xft.h:348: error: ISO C forbids data definition with no type or storage class
Xft.h:350: error: syntax error before '*' token
Xft.h:351: warning: type defaults to `int' in declaration of `XftObjectSetBuild'
Xft.h:351: error: ISO C forbids data definition with no type or storage class
Xft.h:353: error: syntax error before '*' token
Xft.h:354: error: syntax error before '*' token
Xft.h:357: warning: type defaults to `int' in declaration of `XftListFontSets'
Xft.h:357: warning: function declaration isn't a prototype
Xft.h:357: error: ISO C forbids data definition with no type or storage class
Xft.h:359: error: syntax error before '*' token
Xft.h:362: error: syntax error before XftPattern
Xft.h:363: warning: type defaults to `int' in declaration of
`XftListFontsPatternObjects'
Xft.h:363: 

Bind 9.3.0 on FreeBSD 5.3.

2005-01-04 Thread swygue


I need some help setting up Bind 9.3.0 on FreeBSD 5.3.

Here is my setup:

edit /etc/rc.conf
 named_enable=YES 
 named_chrotdir=/var/named
 named_chroot_autoupdate=YES

Generate rndc.key, create rndc.conf, place rndc.key in named.conf and 

rndc.conf
Create Forward zone, reverse zone, loopback
Place my named server in /etc/resolv.conf

Rebooted, then I tried the following:

hazika# dig

;  DiG 9.3.0 
;; global options:  printcmd
;; connection timed out; no servers could be reached


hazika# /etc/rc.d/named stop
named not running? (check /var/run/named/pid).

hazika# /etc/rc.d/named start

hazika# ps -aux | grep 'named'
root 670  0.0  0.8  1620  972  p1  R+   12:21PM   0:00.02 grep named

hazika# netstat -an | grep '.53
Unmatched '.

hazika# rndc start
rndc: connect failed: connection refused

Some help please, it seems Bind is not running.
-- 
Rodrique Heron
Independent Network Consultant
(MS Window's Flavors, FreeBSD, Fedora)
---
pH:718-255-5876
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]