[fpc-devel] [iconv][glibc] function "iconvctl" not found.
zeljko
zeljko at holobit.net
Mon Oct 24 07:45:21 CEST 2011
On Monday 24 of October 2011 04:00:40 Paul Ishenin wrote:
> 23.10.2011 20:01, Paul Ishenin пишет:
> > 23.10.11 19:49, 4iter пишет:
> >> Hi!
> >> Fatal: Compilation aborted
> >> ..............................................
> >> Maybe fixit it with #ifdef ?
> >
> > How to define this ifdef?
> >
> > Maybe it could be fixed either by dynamic loading or weakexternal
> > directive?
>
> I tried to handle the situation by using LoadLibrary, GetProcAddress and
> also failed on osx.
>
> The next line tries to load "iconv.dylib" while on osx the library name
> is "/usr/lib/libiconv.dylib":
>
> iconvlib:=LoadLibrary(libiconvname+'.'+SharedSuffix);
>
> Now I don't understand how it works with the static linking if
> "libiconvname" variable is "iconv"?
Because ld knows about "real" libiconv ?
zeljko
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20111024/a8f83dfa/attachment.html>
More information about the fpc-devel
mailing list