I wouldn't recommend that personally. A better choice is to edit your /etc/ld.so.conf* (I think RH uses a .d directory) to make sure that's in there, or to specify a location on the configure line. Mixing /usr/lib and /usr/lib64 could be a problem down the line.

Pignedoli Luca wrote:

I have recompiled with define build_mysql 1 but the error returned me:

ld error:
can't find mysqlclient

I've create a symlink to dir /ust/lib64/mysql in /usr/lib/mysql and now
it works.

Thanks a lot.

-------- Messaggio Originale  --------
Da: Kern Sibbald <[EMAIL PROTECTED]>
A: bacula-users@lists.sourceforge.net
Oggetto: Re:[Bacula-users] RHEL 4 and Bacula 1.38.2
Data: 9/12/2005 17:33

On Friday 09 December 2005 10:51, Pignedoli Luca wrote:


Ok, now me returns the following error:

You have not specified either --enable-client-only or one of the
supported databases: MySQL, PostgreSQL, SQLite3 or SQLite.
This is not permitted. Please reconfigure.
Yea, not so nice :-( I guess the tag mysql4 is not really implement even if it is documented, or at least, it is only implemented on a couple of systems (Mandrake I think) because they probably have non-standard locations. Why don't you simply try using --define "build_mysql 1", which is what I would use here for the installed MySQL.

Sorry, I cannot give you a definitive answer, but I am not the expert in this area ...



-------- Messaggio Originale  --------
Da: Kern Sibbald <[EMAIL PROTECTED]>
A: bacula-users@lists.sourceforge.net, [EMAIL PROTECTED]
Oggetto: Re:[Bacula-users] RHEL 4 and Bacula 1.38.2
Data: 9/12/2005 10:39

On Friday 09 December 2005 10:15, Pignedoli Luca wrote:
Hi all.

I want install Bacula on RHEL 4.
I have download and install file bacula-1.38.2-1.src.rpm, going into
/usr/src/redhat/SPECS and i run the command:

# rpmbuild -bb bacula.spec --define "build_rhel4 1" --define
"build_mysql4 1"

but this command returned one error:

error:  You must specify database support. Please examine the spec file.
error: line 75: Unknown tag: exit 1

How I can make?
Try using the attached spec file.

Thanks.




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log
files for problems?  Stop!  Download the new AJAX search engine that
makes searching your log files as easy as surfing the  web.  DOWNLOAD
SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log
files for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users





-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to