php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #21950 init_mcrypt() error while configuring with libmcrypt
Submitted: 2003-01-29 13:24 UTC Modified: 2003-02-01 10:35 UTC
From: mdff at a1 dot net Assigned: sniper (profile)
Status: Closed Package: mcrypt related
PHP Version: 4.3.0 OS: Solaris 8
Private report: No CVE-ID: None
 [2003-01-29 13:24 UTC] mdff at a1 dot net
hi guys,

i know, that you might be busy, but there's an open call #20926, which i commented today. i hope you'll be responding anything soon, 'cause i need a solution really fast. obviously, that's not the normal way to raise the importance of any bug-report, but i hope to get help this way, soon.

thx in advance for your support and sorry for the unusual way submitting another bug (yes, i know how it should work normally... ;-) )

br, md.

Patches

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-01-29 13:27 UTC] tal@php.net
Please *DO NOT* do it.
You said yourself this is the wrong way, so why are you doing it?!

Patience, my dear.
 [2003-01-29 14:57 UTC] mdff at a1 dot net
hi guys,

just in case anything goes on out there: 

I GOT IT!

short description: download libtool and install it.
this will make php-configure recognize -lmcrypt as valid.

story:
the REAL problem was not having an error while compiling mcrypt with php, it was more likely that i did not have the libtool-library libltdl.* on my system!

i downloaded libtool-1.4.3, configured it and ran a make install and THEN php was fine with libmcrypt!

the only thing i've to say is: PLEASE, if you add a -ltdl within any configure script, let the configure script CHECK FOR IT and generate ERROR messages to the user if it's not found on the system. i spent very much time (yes, my fault but....) to figure out this stuff! this would not have occurred if your configure script told me that we need ltdl to compile our stuff!


thx for support and cu,
md.

ps: you can close my bug-reports.
 [2003-01-30 13:49 UTC] sniper@php.net
Yes, you're quite right, we should be using the libmcrypt-config script if it's available..

Assigning to myself, will look into this sometime soon.

 [2003-02-01 10:35 UTC] sniper@php.net
This should be fixed now in CVS. (both stable and dev branches)

We now don't rely on libltdl being around but check it.
So if you have build mcrypt with libltdl, that will
work..and also if it's build without.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Aug 16 08:01:28 2024 UTC