The OpenNET Project / Index page

[ новости /+++ | форум | теги | ]

форумы  помощь  поиск  регистрация  майллист  вход/выход  слежка  RSS
"Вопрос про установку  sasl-cyrus-1.5.8 на suse 7.3 (ядро 2.4..."
Вариант для распечатки  
Пред. тема | След. тема 
Форумы OpenNET: Виртуальная конференция (Public)
Изначальное сообщение [ Отслеживать ]

"Вопрос про установку  sasl-cyrus-1.5.8 на suse 7.3 (ядро 2.4..."  
Сообщение от federico (ok) on 11-Сен-08, 15:07 
при установке sasl-cyrus-1.5.8 на suse 7.3 (ядро 2.4.32)
в конфигураци:
./configure --with-openssl=/usr/local/ssl \
--with-dbpath=/var/lib/sasl/sasldb2 \
--prefix=/usr/local/cyrus-sals \
--disable-krb4 \
--disable-gssapi \
--with-saslauthd=/var/run

выдает следующую ошибку

../lib/.libs/libsasl.so: undefined reference to `db_open'
collect2: ld returned 1 exit status
make[2]: *** [dbconverter-1.5.9] Error 1
make[2]: Leaving directory `/home/fbe/cyrus-sasl-1.5.28/utils'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/fbe/cyrus-sasl-1.5.28'
make: *** [all-recursive-am] Error 2

в чем может быть проблема?

p.s.
Прчем на ядре 2.2.19 устанавливается без проблем

Высказать мнение | Ответить | Правка | Cообщить модератору

 Оглавление

Сообщения по теме [Сортировка по времени | RSS]


1. "Вопрос про установку  sasl-cyrus-1.5.8 на suse 7.3 (ядро 2.4..."  
Сообщение от geekkoo (??) on 11-Сен-08, 15:14 
>[оверквотинг удален]
>make[2]: *** [dbconverter-1.5.9] Error 1
>make[2]: Leaving directory `/home/fbe/cyrus-sasl-1.5.28/utils'
>make[1]: *** [all-recursive] Error 1
>make[1]: Leaving directory `/home/fbe/cyrus-sasl-1.5.28'
>make: *** [all-recursive-am] Error 2
>
>в чем может быть проблема?
>
>p.s.
>Прчем на ядре 2.2.19 устанавливается без проблем

BerkeleyDB скорее всего не нашел.

  --with-dblib=DBLIB      set the DB library to use berkeley
  --with-bdb-libdir=DIR   Berkeley DB lib files are in DIR

Высказать мнение | Ответить | Правка | Наверх | Cообщить модератору

2. "Вопрос про установку  sasl-cyrus-1.5.8 на suse 7.3 (ядро 2.4..."  
Сообщение от geekkoo (??) on 11-Сен-08, 15:16 
>>[оверквотинг удален]
>>make[2]: *** [dbconverter-1.5.9] Error 1
>>make[2]: Leaving directory `/home/fbe/cyrus-sasl-1.5.28/utils'

1.25.28 - где такое старьё нашли? Стоит серьезно подумать об апгрейде до 2.1.x
>[оверквотинг удален]
>>
>>p.s.
>>Прчем на ядре 2.2.19 устанавливается без проблем
>
>BerkeleyDB скорее всего не нашел.
>
>  --with-dblib=DBLIB      set the DB library
>to use berkeley
>  --with-bdb-libdir=DIR   Berkeley DB lib files are in DIR
>

Высказать мнение | Ответить | Правка | Наверх | Cообщить модератору

3. "Вопрос про установку  sasl-cyrus-1.5.8 на suse 7.3 (ядро 2.4..."  
Сообщение от federico (ok) on 11-Сен-08, 15:29 
прописал пути:
./configure --with-openssl=/usr/local/ssl \
--with-dbpath=/var/lib/sasl/sasldb2 \
--prefix=/usr/local/cyrus-sals \
--with-bdlib=/usr/local/BerkeleyDB.4.2/lib \
--with-bdb-libdir=/usr/local/BerkeleyDB.4.2/lib \
--disable-krb4 \
--disable-gssapi \
--with-saslauthd=/var/о

ошибка осталась

---------------------------------
вот листинг Makefile
---------------------------------
checking host system type... i686-pc-linux-gnu
checking for a BSD compatible install... (cached) /usr/bin/ginstall -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... found
checking for gcc... (cached) gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking how to run the C preprocessor... (cached) gcc -E
checking for a BSD compatible install... /usr/bin/ginstall -c
checking for __attribute__... (cached) yes
checking for runpath switch... -Wl,-rpath,
checking build system type... i686-pc-linux-gnu
checking for ranlib... (cached) ranlib
checking for ld used by GCC... (cached) /usr/i486-suse-linux/bin/ld
checking if the linker (/usr/i486-suse-linux/bin/ld) is GNU ld... (cached) yes
checking for BSD-compatible nm... (cached) /usr/bin/nm -B
checking whether ln -s works... (cached) yes
loading cache ./config.cache within ltconfig
checking for object suffix... o
checking for executable suffix... (cached) no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions ... yes
checking if gcc static flag -static works... -static
checking if the linker (/usr/i486-suse-linux/bin/ld) is GNU ld... yes
checking whether the linker (/usr/i486-suse-linux/bin/ld) supports shared libraries... yes
checking command to parse /usr/bin/nm -B output... ok
checking how to hardcode library paths into programs... immediate
checking for /usr/i486-suse-linux/bin/ld option to reload object files... -r
checking dynamic linker characteristics... Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for objdir... .libs
creating libtool
loading cache ./config.cache
checking DB path to use... /var/lib/sasl/sasldb2
checking for db3/db.h... (cached) no
checking for db.h... (cached) yes
checking for db_create in -ldb-3.2... (cached) no
checking for db_create in -ldb3.2... (cached) no
checking for db_create in -ldb-3.1... (cached) no
checking for db_create in -ldb3.1... (cached) no
checking for db_create in -ldb-3... (cached) no
checking for db_create in -ldb3... (cached) no
checking for db_create in -ldb... (cached) yes
checking DB library to use... berkeley
checking for dlopen in -ldl... (cached) yes
checking for syslog... (cached) yes
checking for crypt... (cached) no
checking for crypt in -lcrypt... (cached) yes
checking for connect... (cached) yes
checking for res_search... (cached) no
checking for res_search in -lresolv... (cached) yes
checking for dn_expand... (cached) yes
checking for dns_lookup... (cached) no
checking for pam_start in -lpam... (cached) yes
checking for security/pam_appl.h... (cached) yes
checking PAM support... yes
checking for getspnam... (cached) yes
checking CRAM-MD5... enabled
checking SCRAM-MD5... disabled
checking for des_pcbc_encrypt in -ldes... (cached) no
checking for des_pcbc_encrypt in -ldes524... (cached) no
checking for des_pcbc_encrypt in -ldes425... (cached) no
checking for RSAPublicEncrypt in -lrsaref... (cached) no
checking for des_pcbc_encrypt in -lcrypto... (cached) no
configure: warning: No DES support for DIGEST-MD5
checking DIGEST-MD5... enabled
checking KERBEROS_V4... disabled
checking GSSAPI... disabled
checking ANONYMOUS... enabled
checking PLAIN... enabled
checking LOGIN... disabled
checking SRP... disabled
checking for dirent.h that defines DIR... (cached) yes
checking for opendir in -ldir... (cached) no
checking for ANSI C header files... (cached) yes
checking for strchr... (cached) yes
checking for memcpy... (cached) yes
checking for getpwnam... (cached) yes
checking for getspnam... (cached) yes
checking for gettimeofday... (cached) yes
checking for getsubopt... (cached) yes
checking for snprintf... (cached) yes
checking for vsnprintf... (cached) yes
checking for getopt.h... (cached) yes
checking for unistd.h... (cached) yes
checking for crypt.h... (cached) yes
checking for pwd.h... (cached) yes
checking for shadow.h... (cached) yes
checking for paths.h... (cached) yes
checking for working const... (cached) yes
checking for inline... (cached) inline
checking return type of signal handlers... (cached) void
checking for sfio.h... (cached) no
checking for getdomainname... (cached) yes
checking for getpassphrase... (cached) no
checking for getpid... (cached) yes
creating ./config.status
creating Makefile
creating include/Makefile
creating lib/Makefile
creating plugins/Makefile
creating utils/Makefile
creating doc/Makefile
creating sample/Makefile
creating java/Makefile
creating java/CyrusSasl/Makefile
creating java/javax/Makefile
creating java/javax/security/Makefile
creating java/javax/security/auth/Makefile
creating java/javax/security/auth/callback/Makefile
creating pwcheck/Makefile
creating saslauthd/Makefile
creating man/Makefile
creating config.h


Высказать мнение | Ответить | Правка | Наверх | Cообщить модератору

4. "Вопрос про установку  sasl-cyrus-1.5.8 на suse 7.3 (ядро 2.4..."  
Сообщение от geekkoo (??) on 11-Сен-08, 15:34 
>[оверквотинг удален]
>creating java/Makefile
>creating java/CyrusSasl/Makefile
>creating java/javax/Makefile
>creating java/javax/security/Makefile
>creating java/javax/security/auth/Makefile
>creating java/javax/security/auth/callback/Makefile
>creating pwcheck/Makefile
>creating saslauthd/Makefile
>creating man/Makefile
>creating config.h

А /usr/local/BerkeleyDB.4.2/lib у вас в ld.so.conf прописан? ldconfig про него знает?

Высказать мнение | Ответить | Правка | Наверх | Cообщить модератору

5. "Вопрос про установку  sasl-cyrus-1.5.8 на suse 7.3 (ядро 2.4..."  
Сообщение от geekkoo (??) on 11-Сен-08, 15:40 
>[оверквотинг удален]
>>creating java/javax/Makefile
>>creating java/javax/security/Makefile
>>creating java/javax/security/auth/Makefile
>>creating java/javax/security/auth/callback/Makefile
>>creating pwcheck/Makefile
>>creating saslauthd/Makefile
>>creating man/Makefile
>>creating config.h
>
>А /usr/local/BerkeleyDB.4.2/lib у вас в ld.so.conf прописан? ldconfig про него знает?

Т.е. на ldd /usr/lib/sasl2/libsasldb.so (или где оно там у тебя) пишет, что все найдено?

Высказать мнение | Ответить | Правка | Наверх | Cообщить модератору

6. "Вопрос про установку  sasl-cyrus-1.5.8 на suse 7.3 (ядро 2.4..."  
Сообщение от federico (ok) on 11-Сен-08, 15:47 
добавил строчку /usr/local/BerkeleyDB.4.2/lib в ld.so.conf

-------------------------
/lib-aout
/usr/X11R6/lib/Xaw95
/usr/X11R6/lib/Xaw3d
/usr/X11R6/lib
/usr/i486-linux/lib
/usr/i486-linux-libc5/lib=libc5
/usr/i486-linux-libc6/lib=libc6
/usr/i486-linuxaout/lib
/usr/i386-suse-linux/lib
/usr/local/lib
/usr/openwin/lib
/opt/kde/lib
/opt/gnome/lib
/usr/local/BerkeleyDB.4.2/lib
---------------------------
все равно ошибка

Высказать мнение | Ответить | Правка | Наверх | Cообщить модератору

7. "Вопрос про установку  sasl-cyrus-1.5.8 на suse 7.3 (ядро 2.4..."  
Сообщение от geekkoo (??) on 11-Сен-08, 15:52 
>[оверквотинг удален]
>/usr/i486-linux-libc6/lib=libc6
>/usr/i486-linuxaout/lib
>/usr/i386-suse-linux/lib
>/usr/local/lib
>/usr/openwin/lib
>/opt/kde/lib
>/opt/gnome/lib
>/usr/local/BerkeleyDB.4.2/lib
>---------------------------
>все равно ошибка

Оно всё равно другую либу юзает. Из листинга configure видно, что откатывается он аж до db1. Найди где у тебя salsdb плагин установился и проверь с помощью ldd, какой либы ему не хватает.

Высказать мнение | Ответить | Правка | Наверх | Cообщить модератору

8. "Вопрос про установку  sasl-cyrus-1.5.8 на suse 7.3 (ядро 2.4..."  
Сообщение от ALex_hha (ok) on 12-Сен-08, 13:35 
>>все равно ошибка
>
>Оно всё равно другую либу юзает. Из листинга configure видно, что откатывается
>он аж до db1. Найди где у тебя salsdb плагин установился
>и проверь с помощью ldd, какой либы ему не хватает.

вот поэтому и не стоит собирать из исходников. Для этого есть src.rpm

Высказать мнение | Ответить | Правка | Наверх | Cообщить модератору

9. "Вопрос про установку  sasl-cyrus-1.5.8 на suse 7.3 (ядро 2.4..."  
Сообщение от federico (ok) on 12-Сен-08, 14:11 
>
>вот поэтому и не стоит собирать из исходников. Для этого есть src.rpm
>

с удовольствием установил бы sasl-cyrus-1.5.8 из rpm, но где его взять для suse 7 ?

Высказать мнение | Ответить | Правка | Наверх | Cообщить модератору

10. "Вопрос про установку  sasl-cyrus-1.5.8 на suse 7.3 (ядро 2.4..."  
Сообщение от angra (ok) on 12-Сен-08, 14:41 
например на rpmfind.net, если вам конечно не нужно именно 1.5.8 вместо 1.5.24 или более поздних версий
Высказать мнение | Ответить | Правка | Наверх | Cообщить модератору

11. "Вопрос про установку  sasl-cyrus-1.5.8 на suse 7.3 (ядро 2.4..."  
Сообщение от ALex_hha (ok) on 12-Сен-08, 16:20 
>>
>>вот поэтому и не стоит собирать из исходников. Для этого есть src.rpm
>>
>
>с удовольствием установил бы sasl-cyrus-1.5.8 из rpm, но где его взять для
>suse 7 ?

Неужели cyrus-sasl не идет в дистрибутиве? Что то не верится

Высказать мнение | Ответить | Правка | Наверх | Cообщить модератору

Архив | Удалить

Индекс форумов | Темы | Пред. тема | След. тема
Оцените тред (1=ужас, 5=супер)? [ 1 | 2 | 3 | 4 | 5 ] [Рекомендовать для помещения в FAQ]




Партнёры:
PostgresPro
Inferno Solutions
Hosting by Hoster.ru
Хостинг:

Закладки на сайте
Проследить за страницей
Created 1996-2024 by Maxim Chirkov
Добавить, Поддержать, Вебмастеру