The 'proper' way to do this is to set the system paths with the crle utility so that it looks in /usr/local/lib as well. All the solaris boxes I have are already set right, so I don't know how they come, but I seem to remember adding a directory to ours. To add a directory, run crle once and it will tell you what you have:
[fgoserv:ld]# 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
Then take the command line they give you and add whatever you want to the end of it:
[fgoserv:ld]# crle -c /var/ld/ld.config -l /usr/lib:/usr/local/lib:/opt/openldap/lib
[fgoserv:ld]# crle
Configuration file [3]: /var/ld/ld.config Default Library Path (ELF): /usr/lib:/usr/local/lib:/opt/openldap/lib Trusted Directories (ELF): /usr/lib/secure (system default)
Command line: crle -c /var/ld/ld.config -l /usr/lib:/usr/local/lib:/opt/openldap/lib
I had to do this to get samba to execute after I had installed openldap in /opt/openldap.
Alexander Skwar wrote:
Am Tue, 30 Mar 2004 10:57:49 -0500 schrieb Scarff, Christopher J Mr (Titan) 513th:
No one on the planet has seemed to answer this question. After an hour or so of trying to fix this problem myself, I now have the answer, at least a temp fix for it.
I just linked /usr/local/lib/libiconf.so.2 /lib/libiconf.so.2 in Solaris
9. Seems to get Swat working again.
Wow. When did I write that question? 2002? ;)
Thanks for the answer *G* I somehow got it to work.
Alexander Skwar
-- Paul Gienger Office: 701-281-1884 Applied Engineering Inc. Cell: 701-306-6254 Information Systems Consultant Fax: 701-281-1322 URL: www.ae-solutions.com mailto:[EMAIL PROTECTED]
-- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba