Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 May 2016 10:03:24 +1000
From:      Peter Jeremy <peter@rulingia.com>
To:        ports@freebsd.org
Subject:   databases/mariadb100-client fails to compile
Message-ID:  <20160510000324.GC57227@server.rulingia.com>

next in thread | raw e-mail | index | archive | help

--FkmkrVfFsRoUs1wW
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

I'm unable to get databases/mariadb100-client to compile on 10-stable/amd64.
It fails as follows:

Scanning dependencies of target mysqlclient
gmake[4]: Leaving directory '/var/obj/usr/ports/databases/mariadb100-client=
/work/mariadb-10.0.25'
gmake[4]: Entering directory '/var/obj/usr/ports/databases/mariadb100-clien=
t/work/mariadb-10.0.25'
[ 92%] Building C object libmysql/CMakeFiles/mysqlclient.dir/mysqlclient_de=
pends.c.o
[ 92%] Linking CXX shared library libmysqlclient.so
[ 93%] Linking C static library libmysqlclient.a
/usr/bin/ld: /usr/lib/libssl.a(ssl_err.o): relocation R_X86_64_32 against `=
a local symbol' can not be used when making a shared object; recompile with=
 -fPIC
/usr/lib/libssl.a: could not read symbols: Bad value
c++: error: linker command failed with exit code 1 (use -v to see invocatio=
n)
libmysql/CMakeFiles/libmysql.dir/build.make:110: recipe for target 'libmysq=
l/libmysqlclient.so.18' failed
gmake[4]: *** [libmysql/libmysqlclient.so.18] Error 1
gmake[4]: Leaving directory '/var/obj/usr/ports/databases/mariadb100-client=
/work/mariadb-10.0.25'

Looking at the configuration output, it reports:
-- OPENSSL_INCLUDE_DIR =3D /usr/include
-- OPENSSL_LIBRARIES =3D /usr/lib/libssl.a
-- CRYPTO_LIBRARY =3D /usr/lib/libcrypto.a
-- OPENSSL_MAJOR_VERSION =3D
-- SSL_LIBRARIES =3D /usr/lib/libssl.a;/usr/lib/libcrypto.a

I'm not sure why it's picking the static versions of those libraries.

--=20
Peter Jeremy

--FkmkrVfFsRoUs1wW
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQJ8BAEBCgBmBQJXMSVLXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRFRUIyOTg2QzMwNjcxRTc0RTY1QzIyN0Ux
NkE1OTdBMEU0QTIwQjM0AAoJEBall6Dkogs0zDIP/jYviftsebO7/lk9jUeHWQTk
CNVHKQLgOHhwOh0DrV2ZT0yucpfOmTteCMAfDoJyoSwG43uF4hjzl7CkgZcetPeT
4ZVEMKTigqo28buhSkS98+YEmf2dxdI9vDqRq8LVLxpb+ZAfq5TwMTYTBDCLx2jE
2Vtf7viX93hmQy/e/vcsCeOfv8cD57AOfVHg/H0BjKnDMJuvFSvvfzhCFXxMfA++
EOfTVZ6WrT8RoR331k7dsz+2rQO79jD0JCXXFywPR1AoLwlGrH4NIm0XgUiKGmdx
AdaFexRO0TGqX8pVQMUqdSZYLf3QUcrH2D3jTdrSUm/UGeDVpEPEY2Emhf+Zwjdg
MWVON17NXqq5bMG5ftFkG4KrvQfkH46f0wzxr1sigWvUYkcMJURHDRMPXSrYyan3
F1paInUjkJJHHRKi03qOpRZIPIkjdT4cVNPU9XwsYciYP5Z9YmggNp1un1sMkLD3
cxKiJdQ1nEPgwkvMwBzM+H7BtIgVJ4mmLqeMZfhpgSdPZ7zztobh0c8OReAm54uG
VTx+6XSBDRQBBpdTBP4QjNENKBp1uISrr5AcvBnqN/KvnCaANzfBJ01yNhDMrvMT
vg+bY6fTJBGL0RRfxmofRRvNNKqnnvUIr+btsd033Iw3bohbuIXsL+DQygGg9k0i
RXcIm2/FP1qJjVxGEl+Q
=XvjR
-----END PGP SIGNATURE-----

--FkmkrVfFsRoUs1wW--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20160510000324.GC57227>