|
From: Bastien S. <bs...@cy...> - 2010-03-19 10:53:08
|
Hi, I have a problem compiling pdbsql34 on my FreeBSD 8 server. I'm a system administrator, so not that friendly with compilation. After runing into several compilation problems, I'm currently stuck with the /ld/ command and the talloc library. talloc2 is installed on my system, and used by samba34 for the compilation. I compiled talloc 1.3 within the samba sources to try. same problem. What I did is to tweak the TALLOC_LIBS variable to take explicitly talloc lib into account, I tried this ways : TALLOC_LIBS = -L/usr/local/lib -talloc TALLOC_LIBS = -l/usr/local/lib/libtalloc.so I tried modifying the symlink between libtalloc.so1.3.0 and lobtalloc.so.2 ld still says : /usr/bin/ld: cannot find -l/usr/local/lib/libtalloc.so or gcc: unrecognized option '-talloc' If I remove this lib, the compilation works but I have the following problem when starting smbd : log.smbd : [2010/03/18 17:47:30, 0] lib/module.c:59(do_smb_load_module) Error trying to resolve symbol 'init_samba_module' in /usr/local/lib/samba34/pdb/mysql.so: Undefined symbol "init_samba_module" If this is not a problem due to talloc, it's fine I don't need it as this is a pretty little system and I've plan to switch to ldap backend soon. But the problem seems to be elsewhere. It seems it's missing something from samba, else if the sources are correctly given to the configure script. Any help or idea is very welcome. -- Bastien Semene Administrateur Réseau& Système Cyanide Studio - FRANCE |