Bacula-users

Re: [Bacula-users] Bacula 5.0.2 FreeBSD port fails to build during upgrade

2010-07-22 07:17:11
Subject: Re: [Bacula-users] Bacula 5.0.2 FreeBSD port fails to build during upgrade
From: Dan Langille <dan AT langille DOT org>
To: Silver Salonen <silver AT ultrasoft DOT ee>
Date: Thu, 22 Jul 2010 07:14:11 -0400
On 7/22/2010 6:08 AM, Silver Salonen wrote:
> On Thursday 22 July 2010 11:52:31 Silver Salonen wrote:
>> On Thursday 22 July 2010 10:45:33 Dan Langille wrote:
>>> A side note, for future reference: It is best to create a new email
>>> instead of replying to an existing thread.  Your issue is slightly
>>> related only in that it's FreeBSD.  See below.
>>
>> OK, I just thought it's a very similar problem with linking to libraries or
>> smth.
>>
>>>> I'm trying to compile bacula-server on FreeBSD-7.1. I get this error:
>>>> ...
>>>> Linking bacula-dir ...
>>>> /usr/ports/sysutils/bacula-server/work/bacula-5.0.2/libtool --silent --
>> tag=CXX
>>>> --mode=link /usr/bin/c++ -L../lib -L../cats -L../findlib   -o bacula-dir
>>>> dird.o admin.o authenticate.o autoprune.o backup.o bsr.o catreq.o
>>>> dir_plugins.o dird_conf.o expand.o fd_cmds.o getmsg.o inc_conf.o job.o
>> jobq.o
>>>> migrate.o mountreq.o msgchan.o next_vol.o newvol.o pythondir.o recycle.o
>>>> restore.o run_conf.o scheduler.o ua_acl.o ua_cmds.o ua_dotcmds.o
>> ua_query.o
>>>> ua_input.o ua_label.o ua_output.o ua_prune.o ua_purge.o ua_restore.o
>> ua_run.o
>>>> ua_select.o ua_server.o ua_status.o ua_tree.o ua_update.o vbackup.o
>> verify.o
>>>> -lbacfind -lbacsql -lbacpy -lbaccfg -lbac -lm   -L/usr/local/lib/mysql -
>>>> lmysqlclient_r -lz -lpthread  -lwrap  -lssl -lcrypto
>>>> /usr/ports/sysutils/bacula-
>> server/work/bacula-5.0.2/src/lib/.libs/libbac.so:
>>>> undefined reference to `EVP_PKEY_encrypt_old'
>>>> /usr/ports/sysutils/bacula-
>> server/work/bacula-5.0.2/src/lib/.libs/libbac.so:
>>>> undefined reference to `EVP_PKEY_decrypt_old'
>>>> *** Error code 1
>>>> ...
>>>>
>>>> I have uninstalled all the Bacula stuff, so it can't affect that. What
> can
>> I
>>>> do to work around it?
>>>
>>> I haven't tried FreeBSD 7.2 in some time, and I don't have anything
>>> running 7.2 to help.
>>>
>>> FYI, FreeBSD 7.2 had an End of Life on June 30th 2010
>>> (http://www.freebsd.org/releases/7.3R/announce.html).
>>>
>>> Oh, wait, I do have a 7.3-PRERELEASE system. Let me try that.  First,
>>> I'll upgrade the FD.  It's about time actually:
>>>
>>> # pkg_info | grep bacula
>>> bacula-client-3.0.3 The network backup solution (client)
>>>
>>> # /usr/local/etc/rc.d/bacula-fd stop
>>> Stopping bacula_fd.
>>>
>>> # portupgrade -f bacula-client
>>>
>>> Yes, that worked OK.  Now let me try building bacula-server.  Yes, that
>>> worked.  Have you tried a 'make clean' and then a 'make install'?  What
>>> options are you using on the build?  I have these set on:
>>>
>>> PostgreSQL
>>> NLS
>>> OpenSSL
>>>
>>> What versions do you have of these?
>>>
>>> libiconv-1.13.1
>>> gettext-0.17_1
>>
>> I upgraded all my ports in the server, so now I have: libiconv-1.13.1_1 and
>> gettext-0.18_1. I did "make clean" before trying to compile ports again. I
>> tried to compile bacula-client too, but I get the same error there.
>>
>> --
>> Silver
>
> Ah yes, I have only OPENSSL and MYSQL options checked.
>

I suggest starting a new email.  I don't use MySQL.

-- 
Dan Langille - http://langille.org/

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users