libiconv error (symbol not found) but libiconv.so.2 IS present under /usr/local/lib

Netcool Netcool leo.netcool at gmail.com
Mon Oct 3 21:43:05 UTC 2005


My fault...

I used crle -i, instead of crle -l...

Now, everything works ok.

Leo

On 10/3/05, Netcool Netcool <leo.netcool at gmail.com> wrote:
> Hi Adam,
>
> The EXPORT worked. However, the minicom binary, is 32-bit, same as the
> libiconv.so.1 and crle output. OTOH, "crle -64" doesn't add
> /usr/local/lib since there are no 64-bit libs in there.
>
> Using truss I can see minicom open /var/ld/ld.conf before trying
> /usr/lib/libiconv.so.1 (it looks under /usr/lib), so I think maybe
> that file is corrupt... I tried a "cat /var/ld/ld.conf" and there are
> binary data on it. I think this file should be a plain ascii file...
>
> I will look for a way to re/create ld.conf
>
> Regards,
>
> Leo
>
>
> On 10/1/05, Adam Lackorzynski <adam at os.inf.tu-dresden.de> wrote:
> >
> > On Fri Sep 30, 2005 at 15:15:59 -0400, Netcool Netcool wrote:
> > > I have tried both ways, with and without the parameter. Both cases
> > > config goes ok, I do the make and the install, but when running
> > > "minicom -s" I get the following error:
> > >
> > > bash-2.05# minicom -s
> > > ld.so.1: minicom: fatal: libiconv.so.2: open failed: No such file or directory
> > > Killed
> > > bash-2.05#
> > >
> > > In fact, I didn't notice this error since the first build was "as is"
> > > with configure giving no errors. The error appears in the config log
> > > file.
> > >
> > > Also, I have added /usr/local/bin using crle:
> > >
> > > bash-2.05# crle -i /usr/local/lib
> > > bash-2.05# crle
> > >
> > > Configuration file [version 4]: /var/ld/ld.config
> > >   Default Library Path (ELF):   /usr/lib  (system default)
> > >   Trusted Directories (ELF):    /usr/lib/secure  (system default)
> > >
> > > Directory: /usr/local/lib
> > >   libgcc_s.so.1
> > >   libstdc++.so.6.0.2
> > >   libiconv.so.2.2.0
> > >   libiconv_plug.so
> > >   libstdc++.so.6
> > >   libgcc_s.so
> > >   libcharset.so.1
> > >   libstdc++.so
> > >   libcharset.so
> > >   libcharset.so.1.0.0
> > >   libiconv.so.2
> > >   libiconv.so.2.1.0
> > >   libiconv.so
> > >
> > > Command line:
> > >   crle -c /var/ld/ld.config -i /usr/local/lib
> > >
> > > bash-2.05# minicom -s
> > > ld.so.1: minicom: fatal: libiconv.so.2: open failed: No such file or directory
> > > Killed
> > > bash-2.05#
> > >
> > > Anything else I could try?
> >
> > Try
> > $ LD_LIBRARY_PATH=/usr/local/lib minicom -s
> >
> >
> > Skimming over the manpage I see that there's a difference between 32 and
> > 64 bit systems. Any chance the minicom binary is 64 bit while crle
> > defaults to 32?
> >
> > If this doesn't work try truss'ing it to see which files are opened etc
> > and maybe send the log (relevant parts).
> >
> >
> >
> >
> > Adam
> > --
> > Adam                 adam at os.inf.tu-dresden.de
> >  Lackorzynski         http://os.inf.tu-dresden.de/~adam/
> >
> > --
> > minicom-devel mailing list <minicom-devel at lists.alioth.debian.org>
> > http://lists.alioth.debian.org/mailman/listinfo/minicom-devel
> >
>



More information about the minicom-devel mailing list