[Samba] Re: Cannot start SWAT on Solaris 8 server - libiconv.so.2:
open
Paul Gienger
pgienger at ae-solutions.com
Wed Mar 31 13:37:41 GMT 2004
Even though you found a way, I'll send it in for the good of the public.
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:pgienger at ae-solutions.com
More information about the samba
mailing list