Hi Edward,
That usually means that either you're running into an ldd bug (the ldd with 0.9.20 is pretty dumb, it get's things wrong somethings, even when the binaries themselves are perfectly ok - try setting LD_LIBRARY_PATH to $(BT_STAGING_DIR)/lib:$(BT_STAGING_DIR)/usr/lib inside your buildtool.mk file, and see if the error message goes away), or that your setup is "leaking" libraries from your host system.Hello, I am trying to build the latest version of Samba using buildtool. Everything seems to compile OK, but it some-how links against my /lib directory. Did I missed something in buildtool configuration?
Here is a typical warning from buildtoollog:
/../i386-linux/bin/ld: warning: libc.so.6, needed by /lib/libattr.so, may conflict with libc.so.0
Only you can find out what is happening here - but note that running into the problem that at one point things are linked against the host libs is not uncommon at all (one of the reasons why there is no Bind9 setup for Bering uClibc - several people have worked _long_ hours on getting Bind9 to work, and failed). Maybe samba is another case of such a problem - I don't know (and since samba is the last thing I'd want on my router, I won't spend much time trying to find out).
The short version is that big (read "screwed up" from a cross-compiling point of view) packages like samba are usually rather difficult to get to work, and getting things to "work right" will take quite a bit of debugging. That's one of the reasons I'm ready to drop support for OpenSSH, since with each release, it gets more difficult to compile it (their configure script relies far too much on the host that does the compiling being the one that will run the executable - with all kinds of nasty side effects). I don't want to discourage you, but sometimes, building stuff with buildtool isn't quite as simple as running "configure && make && make install"
If you have a specific question, I'm sure many people will do their best to help - but samba is one of the sources that may take more time to get to work than any of the Bering uClibc developers can spare at the moment (add to that the security and therefore support nightmare that running an SMB daemon on a router might introduce, should the person setting up the box not fully understand what [s]he is doing).
Martin
------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
_______________________________________________ leaf-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-devel
