Alberto Hernando wrote:
 As a part of my
transition to LFS, I want to use it too, but there are no suitable packages for me, and they refuse to provide more packages.

It isn't possible to relink a dynamically linked executable as a static. And if it were a static you would not have a problem.

What I would do is this:

1) In debian, run ldd (or readelf) on the executable in question. This will list the libraries it needs and their current versions.

2) Now look for the versions of the libraries that support those versions. A common problem is libstdc++, many many proprietary binaries need libstdc++.so.5 - this can be built using the BLFS instructions for gcc-3.6 - but you could probably also copy your debian version across (unless they depend on ABI that are changed in, say, glibc). You can also try adding a symlink from the name required to the version you've got, but this will fail if the bit of the ABI that your app uses has changed.

3) Check the binary on the LFS system with ldd again, to ensure that all it's libs are satisfied.

None of this is a precise science, and you may well get problems like memory leaks and buffer overruns that make the application unstable, but it's worth a try.

R.

--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to