Bug 24138 - undefined symbol: crypt
Summary: undefined symbol: crypt
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: php5-suhosin (show other bugs)
Version: unstable
Hardware: all Linux
: P3 major
Assignee: Anton Farygin
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-22 13:54 MSD by Sergey Vlasov
Modified: 2010-09-22 14:19 MSD (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey Vlasov 2010-09-22 13:54:40 MSD
php5-5.3.3.20100722-alt1, php5-suhosin-0.9.32.1-alt1

$ sudo aptitude install php5
...
The following NEW packages will be installed:
  libmm php-base php5 php5-libs php5-suhosin 

$ php --version
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/5.3.3/extensions/suhosin.so' - /usr/lib/php/5.3.3/extensions/suhosin.so: undefined symbol: crypt in Unknown on line 0
PHP Warning:  Cannot open '@PHP_BROWSCAP@' for reading in Unknown on line 0
PHP 5.3.3 with Suhosin-Patch (cli) (built: Sep 17 2010 12:40:18) 
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies

Т.е., модуль suhosin.so не загружается из-за недолинковки с -lcrypt.  Объезд возможен путём установки ещё и пакета php5-pgsql (в этом случае libcrypt косвенным путём вытягивается через libpq).
Comment 1 Anton Farygin 2010-09-22 13:59:09 MSD
то-то у меня этой ругани не вылезает.
Comment 2 Repository Robot 2010-09-22 14:19:04 MSD
php5-suhosin-0.9.32.1-alt2 -> sisyphus:

* Wed Sep 22 2010 Anton Farygin <rider@altlinux> 0.9.32.1-alt2
- link with libcrypto (closes: 24138)