mariadb-server-5.2.6 failed on amd64 9

Jason Hellenthal jhell at DataIX.net
Sat Jun 11 02:37:07 UTC 2011


Doug,

On Thu, Jun 09, 2011 at 08:04:47PM -0700, Doug Barton wrote:
> I'm confused by this error, since it works just fine with default 
> settings on 7 and 8 with both amd64 and i386. Can someone give me a 
> suggestion on the right direction to look?
> 
> -------- Original Message --------
> 
> > Excerpt from the build log at
> >
> >   http://pointyhat.FreeBSD.org/errorlogs/amd64-errorlogs/a.9.20110609110911/mariadb-server-5.2.6.log
> >
> > building mariadb-server-5.2.6 on gohan61.freebsd.org
> 
> > /usr/bin/ld: attempted static link of dynamic object `/usr/local/lib/libevent.so'
> > *** Error code 1
> > 1 error
> > *** Error code 1
> > 1 error
> > *** Error code 2
> > 1 error
> > *** Error code 1
> > 1 error
> > *** Error code 1
> >

This would lead me to believe that there is a linking descrepency
between libevent and libevent2 for some reason or another.

Do you have both libevents installed ? (They both can be)

It may be picking up libevent2 to link against and expect it to actually
be installed as libevent.so which would cause the problem your seeing.

Two ways to go about finding this out is to look over the configure log
and see if its picking up libevent2 or libevent1. If libevent2 is being
picked up then you could try uninstalling libevent-1 and retry the
build. If its the opposite case then uninstall libevent-2 and retry.

If one of those solves it then you will most likely need to directly
point it to the lib to use via -rpath or something similiar.


Good luck.

-- 

"Unity can only be manifested by the Binary. Unity itself and the idea of Unity are already two." -- Buddha

 Regards, (jhell)
 Jason Hellenthal

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 522 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20110611/ba88708b/attachment.pgp


More information about the freebsd-ports mailing list