You are not logged in.

#1 2006-07-03 18:11:09

timm
Member
From: Wisconsin
Registered: 2004-02-25
Posts: 417

Statically linked application and shared library problem

Not sure if this is the right forum for this...

I'm trying to install bacula (a backup program) on my server from source; and have been getting lots of errors at the make stage.  The following is an excerpt from the transition area in the errors messages; the warning is the last of those, and the undefined reference is the first of those.

I'm not a programmer and am not sure what I need to do to get this to install correctly.

I'm running the latest version of mysql from the arch repositories; bacula I downloaded from their site.  Otherwise I updated my entire system yesterday via pacman.


: warning: Using 'getservbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/lib/mysql/libmysqlclient_r.a(client.o): In function `mysql_close_free_options':
: undefined reference to `SSL_CTX_free'
/usr/lib/mysql/libmysqlclient_r.a(viossl.o): In function `report_errors':
: undefined reference to `ERR_get_error_line_data'

Offline

#2 2006-07-07 05:26:44

timm
Member
From: Wisconsin
Registered: 2004-02-25
Posts: 417

Re: Statically linked application and shared library problem

I rebuilt bacula using sqlite instead of mysql, and it worked fine.  This will work for now and I'll try to figure out the mysql problem later.

Offline

Board footer

Powered by FluxBB