Hello,

It works using 
"no-as-needed" : export CFLAGS='-Wl,--no-as-needed -lcrypto'
https://wiki.ubuntu.com/NattyNarwhal/ToolchainTransition

Seems quite dirty though.

Matthieu Guamis
Logo Axège Axège
22 bis, rue des Chazots
63170 Aubière
Tél: +33 (0)4 63 05 95 40
Fax: +33 (0)4.73.70.65.29
Email: matthieu.guamis@axege.com

Le 13/11/2012 17:24, Sjoerd Mullender a écrit :
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 2012-11-13 17:00, Molenaar, Gijs wrote:
Ah, that explains why there are no

On Nov 13, 2012, at 4:22 PM, Matthieu Guamis
<matthieu.guamis@axege.com <mailto:matthieu.guamis@axege.com>>
wrote:

Hello,

I'm tryingto compile MonetDB on Ubuntu 12.04 x64but It fails with
alot of "../mapilib/.libs/libmapi.so: undefined reference to
`SHA256'".I though it was related with a library linking
problem,but I use LDFLAGS=-lssl -lcrypt and CFLAGS=-Wl,-verbose
which give me : attempt to open 
/usr/lib/gcc/x86_64-linux-gnu/4.6/../../../x86_64-linux-gnu/libssl.so


succeeded
-lssl 
(/usr/lib/gcc/x86_64-linux-gnu/4.6/../../../x86_64-linux-gnu/libssl.so)


...
attempt to open 
/usr/lib/gcc/x86_64-linux-gnu/4.6/../../../x86_64-linux-gnu/libcrypt.so
succeeded -lcrypt 
(/usr/lib/gcc/x86_64-linux-gnu/4.6/../../../x86_64-linux-gnu/libcrypt.so)



I'm not very familiar with Make and C,so Iwould appreciate some help.
PS: Could it be related to the packaging problem reported on the 
lastreleases notes "No Debian and Ubuntu packages were built for
this release due to a packaging failure"?

hm, that explains why there are no packages for this release. But
I don't understand,  I have no problem building ubuntu packages of
the latest MonetDB version.  What is actually the problem?

If somebody had notified me I could have had a look, but that
didn't happen.

- Gijs
There were three problems.  One was that not all files were mentioned
in the various debian/*.install files, the second that the Python
config didn't work on Lucid.  The final problem was that we needed a
slight modification to the geos library configuration for Quantal.
Everything is fixed and ready for Oct2012-SP1.

As to the problems of the OP, I'm not sure what the problem is.
MonetDB does compile on Ubuntu 12.04.  Perhaps he doesn't have all the
requisite libraries installed.  Check the file debian/control and
install everything behind the Build-Depends tag, in particular,
libssl-dev.

- -- 
Sjoerd Mullender
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iQCVAwUBUKJ0Lj7g04AjvIQpAQLKXwQAkngbHRZa0Oisg1wi7FTIISzY6ok6hnF+
LqGrlcmfZCDAEyjbi+c/eyH7rjSVGFNtRo65JR2pcTHP3A2b+aYshvQSJPCTahCJ
jr2v2DPqtzmGN7nHwX9h8vNITWff/A6CJk2YJ/nlG6qlwfY0ugygPieH0v885L+k
Z25QNzAB5HY=
=5eD0
-----END PGP SIGNATURE-----
_______________________________________________
users-list mailing list
users-list@monetdb.org
http://mail.monetdb.org/mailman/listinfo/users-list