Date: Sat, 11 Jun 2011 17:10:52 -0700 From: Doug Barton <dougb@FreeBSD.org> To: jhell@DataIX.net Cc: FreeBSD Ports <freebsd-ports@freebsd.org> Subject: Re: mariadb-server-5.2.6 failed on amd64 9 Message-ID: <4DF4040C.6070708@FreeBSD.org> In-Reply-To: <20110611023659.GA2335@DataIX.net> References: <4DF189CF.40505@FreeBSD.org> <20110611023659.GA2335@DataIX.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On 06/10/2011 19:36, Jason Hellenthal wrote: > > 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) No, I don't. (Nor would pointyhat, for that matter.) :) Anyone else have an idea? Doug > 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. > -- Nothin' ever doesn't change, but nothin' changes much. -- OK Go Breadth of IT experience, and depth of knowledge in the DNS. Yours for the right price. :) http://SupersetSolutions.com/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4DF4040C.6070708>