Hi Brian, thankss. I'd had some pointers to /var/ld/ld.config but it didn't exist on my system)
$ crle Default configuration file (/var/ld/ld.config) not found Default Library Path (ELF): /usr/lib (system default) Trusted Directories (ELF): /usr/lib/secure (system default) $ crle -l /usr/lib -l /usr/local/lib -v output configuration file: /var/ld/ld.config adding default library path (ELF): /usr/lib adding default library path (ELF): /usr/local/lib $ crle Configuration file [3]: /var/ld/ld.config Default Library Path (ELF): /usr/lib:/usr/local/lib Trusted Directories (ELF): /usr/lib/secure (system default) Command line: crle -c /var/ld/ld.config -l /usr/lib:/usr/local/lib now i am getting the login screen. regards, kamesh ----- Original Message ----- From: "Brian Candler" <[EMAIL PROTECTED]> To: "Kamesh" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wednesday, July 30, 2003 8:07 AM Subject: Re: [sqwebmail] Premature end of script headers: /usr/local/apache/cgi-bin/sqwebmail > On Wed, Jul 30, 2003 at 08:25:19PM -0700, Kamesh wrote: > > ld.so.1: sqwebmail: fatal: libgdbm.so.3: open failed: No such file or > > directory > > Solaris trick: > > # crle > > shows you the library path. You can change it as follows: > > # crle -l /usr/lib:/usr/local/lib:/usr/local/ssl/lib > > It is persistent (the setting is stored in /var/ld/ld.config) so it will > work even after a reboot. > > Note that crle -l *replaces* the library search path with what you give, so > make sure you include /usr/lib or you could find yourself in problems :-) > > Regards, > > Brian. >
