> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Sam > Varshavchik > Sent: Friday, 30 December 2005 10:10 AM > To: [email protected] > Subject: Re: [courier-users] courier-authlib fails to compile on Fedora > Core 4 / x86_64 > > > David Branford writes: > > > Hi all, > > > > I am unable to compile courier-authlib 0.58 under fc4 on x86_64 > (amd64). I > > receive the messages: > > > > Linking libauthmysql.la > > /usr/bin/ld: /usr/lib/libmysqlclient.a(libmysql.o): relocation > R_X86_64_32 > > against `a local symbol' can not be used when making a shared object; > > recompile with -fPIC > > /usr/lib/libmysqlclient.a: could not read symbols: Bad value > > collect2: ld returned 1 exit status > > gmake[2]: *** [libauthmysql.la] Error 1 > > > > I have the latest version of mysql (5.0.17-1) installed from generic rpm > > for x86_64, and in the release notes it says that mysql is compiled with > > the -fPIC parameter. > > But you're linking against the static library, libmysqlclient.a. > -fPIC is > only used to build shared libraries.
So a mysql compile problem? > > Has anybody else encountered this problem? I have tried everything I can > > think of, and some things I couldn't (thanks to the shupp > toaster mailing > > list members :)) and I can't get past this error. It almost looks as > > though the mysql build itself is lacking compilation with the -fPIC > > parameter. > > Correct. > So mysql is really _not_ compiled with -fPIC? But is says in the mysql release notes that it is... darn... so at this stage I'm looking for a version of mysql compiled with -fPIC (shared library support)? Thanks, David ------------------------------------------------------- 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 _______________________________________________ courier-users mailing list [email protected] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
