Hi, On 9/19/2006 10:07 AM, Raffaele Pantaleoni wrote: > Hi, > I'm trying to build bacula on a new server the machine is a Pentium D 3 > GHz with a 1 Gb of ram, running CentOS 4.3 64 bit, but I got a > compilation error. > > I'm using the following configuration: > > Host: x86_64-unknown-linux-gnu -- redhat > Bacula version: 1.38.11 (28 June 2006) > Source code location: . > Install binaries: /usr/bin > Install config files: /etc/bacula > Scripts directory: /etc/bacula > Working directory: /var/bacula > PID directory: /var/run > Subsys directory: /var/lock/subsys > Man directory: /usr/share/man > Data directory: /usr/share > C Compiler: gcc 3.4.5 > C++ Compiler: /usr/bin/g++ 3.4.5 > Compiler flags: -g -Wall > Linker flags: -O > Libraries: -lpthread > Statically Linked Tools: no > Statically Linked FD: no > Statically Linked SD: no > Statically Linked DIR: no > Statically Linked CONS: no > Database type: MySQL > Database lib: -L/usr/lib/mysql -lmysqlclient_r -lz > > Job Output Email: [EMAIL PROTECTED] > Traceback Email: [EMAIL PROTECTED] > SMTP Host Address: 192.168.100.120 > > Director Port: 9101 > File daemon Port: 9102 > Storage daemon Port: 9103 > > Director User: > Director Group: > Storage Daemon User: > Storage DaemonGroup: > File Daemon User: > File Daemon Group: > > SQL binaries Directory /usr/bin > > Large file support: yes > Bacula conio support: yes -ltermcap > readline support: no > TCP Wrappers support: no > TLS support: no > ZLIB support: yes > enable-smartalloc: yes > enable-gnome: no > enable-wx-console: no > enable-tray-monitor: yes > client-only: no > build-dird: yes > build-stored: yes > ACL support: yes > Python support: no > > When I try to "make" I got the following error: > > /usr/bin/ld: skipping incompatible /usr/lib/mysql/libmysqlclient_r.a > when searching for -lmysqlclient_r. > > What does it mean? It this related to the x86_64 bit architecture?
Probably. > How > could I solve it? Try using the 64-bits libraries for MySQL - they might be installed in /usr/lib64/mysql. You'll have to give the correct path for the MySQL libraries to configure. Obviously, if not already installed, you'll also have to install the MySQL client and -devel packages for 64 bit architecture, too. Arno > > Thanks a lot. > -- IT-Service Lehmann [EMAIL PROTECTED] Arno Lehmann http://www.its-lehmann.de ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users