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/
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"