Delphi/Kylix app on uClibc???

Peter S. Mazinger ps.m at gmx.net
Sat Dec 3 00:34:34 UTC 2005


On Fri, 2 Dec 2005, Joseph M Dupre (AVAB Inc.) wrote:

> On 2 Dec 2005 at 4:26, uclibc-request at uclibc.org wrote:
> 
> > you should move the glibc libraries into a sep dir to isolate them
> > from glibc (say /lib/glibc or /glibc) and then run your Kylix binary
> > by setting LD_LIBRARY_PATH=/lib/glibc
> 
> Thanks for the suggestion.  I tried this, but it does not work.  Is
> LD_LIBRARY_PATH supported by uClibc???
> 
> # export LD_LIBRARY_PATH=/lib/glibc
> # /kylix/application
> -sh: /kylix/application: no such file or directory
> 
> I *was* able to run the app by explicitly calling ld-linux however:
> 
> /lib/glibc/ld-linux.so.2 --library-path /lib/glibc /kylix/application
> Hello World!
> 
> What's up with that?

probably your app has hardcoded /lib/ld-linux.so.2 so you have to provide 
it exactly (won't conflict w/ uClibc)
> 
> Note that in /lib/glibc I only have ld-linux, libc, libdl and
> libpthreads with the appropriate symlinks, not the complete glibc
> libraries.

check the app w/ readelf -d to see what you need, but it could also be 
that glibc tries to use libnss* (although not listed anywhere)

Peter

-- 
Peter S. Mazinger <ps dot m at gmx dot net>           ID: 0xA5F059F2
Key fingerprint = 92A4 31E1 56BC 3D5A 2D08  BB6E C389 975E A5F0 59F2




More information about the uClibc mailing list