Problemas com ypops

Iniciado por dyool, 25 de Agosto de 2006, 10:11

tópico anterior - próximo tópico

dyool

Onde encontro um pacote deb do ypops? Converti um pacote rpm com o alien em deb. Instaley mas quando executo ypops dá-me o erro:/usr/bin/ypops: error while loading shared libraries: libssl.so.4: cannot open shared object file: No such file or directory
Ou onde encontro libssl.so.4? Já alguém usou este programa?Como é que fez? Já procurei no google mas nada.

Lamego

dyool,
esses arquivos são do openssl, tenta instalar esse pacote, de qualquer forma a versão do openssl pode não ser aquela utilizada para compilar esse programa se for o caso provávelmente não se consegue utilizar o binário correctamente.

Neste caso o método mais recomendado é fazer download do programa, compilar e instalar com o checkinstall.
Ou então pede a ver se alguem cria o .deb para você (neste momento eu não posso).
João Luís Marques Pinto
Mais programs e jogos para o Ubuntu

dyool

O problema é que quando se tenta compilar o programa dá sempre erro!

Lamego

dyool,
cola aqui o erro que dá quando você compila.
João Luís Marques Pinto
Mais programs e jogos para o Ubuntu

dyool

#4
O erro que dá quando faço make é root@helder-desktop:/home/helder/Desktop/ypops-0.7.3/src# make
rm -f ypops
make mimelib;make libre_lib;make ypops
make[1]: Entrando no diretório `/home/helder/Desktop/ypops-0.7.3/src'
cd ../lib/mimepp-1.3.3;make -f makefile-unix rel_lib;cd
make[2]: Entrando no diretório `/home/helder/Desktop/ypops-0.7.3/lib/mimepp-1.3.3'
ar rc ./rel/libmimepp_core.a ./rel/address.o ./rel/addrlist.o ./rel/body.o ./rel/bodypart.o ./rel/bounds.o ./rel/boyermor.o ./rel/datetime.o ./rel/disptype.o ./rel/dw_cte.o ./rel/dw_date.o ./rel/dw_mime.o ./rel/encoded.o ./rel/entity.o ./rel/except.o ./rel/field.o ./rel/fieldbdy.o ./rel/group.o ./rel/headers.o ./rel/mailbox.o ./rel/mboxlist.o ./rel/mechansm.o ./rel/mediatyp.o ./rel/message.o ./rel/msgcmp.o ./rel/msgid.o ./rel/param.o ./rel/stamp.o ./rel/string.o ./rel/system.o ./rel/text.o ./rel/token.o
ranlib ./rel/libmimepp_core.a
ar rc ./rel/libmimepp_util.a ./rel/applfile.o ./rel/binhex.o ./rel/uuencode.o
ranlib ./rel/libmimepp_util.a
make[2]: Saindo do diretório `/home/helder/Desktop/ypops-0.7.3/lib/mimepp-1.3.3'make[1]: Saindo do diretório `/home/helder/Desktop/ypops-0.7.3/src'
make[1]: Entrando no diretório `/home/helder/Desktop/ypops-0.7.3/src'
cd ../lib/re_lib;make -f makefile.unix
make[2]: Entrando no diretório `/home/helder/Desktop/ypops-0.7.3/lib/re_lib'
ar q libre_lib.a regexp.o regsub.o
make[2]: Saindo do diretório `/home/helder/Desktop/ypops-0.7.3/lib/re_lib'
make[1]: Saindo do diretório `/home/helder/Desktop/ypops-0.7.3/src'
make[1]: Entrando no diretório `/home/helder/Desktop/ypops-0.7.3/src'
rm -f HttpClient.o
g++ -g -fkeep-inline-functions -fno-default-inline -D_REENTRANT -I../lib/re_lib -I../lib/mimepp-1.3.3/src -I../lib/mimepp-1.3.3/examples/email -I/usr/include/openssl -I/usr/include -c HttpClient.cpp
In file included from HttpClient.cpp:49:
HttpClient.h:46:23: error: curl/curl.h: No such file or directory
HttpClient.h:47:24: error: curl/types.h: No such file or directory
HttpClient.h:48:23: error: curl/easy.h: No such file or directory
HttpClient.h:102: error: ISO C++ forbids declaration of 'CURL' with no type
HttpClient.h:102: error: expected ';' before '*' token
HttpClient.cpp: In destructor 'virtual HttpClient::~HttpClient()':
HttpClient.cpp:120: error: 'curl_handle' was not declared in this scope
HttpClient.cpp:121: error: 'curl_easy_cleanup' was not declared in this scope
HttpClient.cpp: In member function 'BOOL HttpClient::AddHeader(const char*, const char*)':
HttpClient.cpp:188: error: 'curl_slist_append' was not declared in this scope
HttpClient.cpp: In member function 'BOOL HttpClient::DoPostInternal(const char*, const void*, HttpClientResponse&, bool)':
HttpClient.cpp:244: error: 'CURL' was not declared in this scope
HttpClient.cpp:244: error: 'curl_handle' was not declared in this scope
HttpClient.cpp:245: error: 'CURLcode' was not declared in this scope
HttpClient.cpp:245: error: expected `;' before 'res'
HttpClient.cpp:255: error: 'curl_easy_init' was not declared in this scope
HttpClient.cpp:260: error: 'CURLOPT_URL' was not declared in this scope
HttpClient.cpp:260: error: 'curl_easy_setopt' was not declared in this scope
HttpClient.cpp:263: error: 'CURLOPT_WRITEFUNCTION' was not declared in this scope
HttpClient.cpp:264: error: 'CURLOPT_FILE' was not declared in this scope
HttpClient.cpp:265: error: 'CURLOPT_HEADERFUNCTION' was not declared in this scope
HttpClient.cpp:266: error: 'CURLOPT_WRITEHEADER' was not declared in this scope
HttpClient.cpp:268: error: 'CURLOPT_USERAGENT' was not declared in this scope
HttpClient.cpp:269: error: 'CURLOPT_HTTPHEADER' was not declared in this scope
HttpClient.cpp:270: error: 'CURLOPT_FOLLOWLOCATION' was not declared in this scope
HttpClient.cpp:271: error: 'CURLOPT_MAXREDIRS' was not declared in this scope
HttpClient.cpp:278: error: 'CURLOPT_SSLENGINE_DEFAULT' was not declared in this scope
HttpClient.cpp:279: error: 'CURLOPT_SSL_VERIFYPEER' was not declared in this scope
HttpClient.cpp:280: error: 'CURLOPT_SSL_VERIFYHOST' was not declared in this scope
HttpClient.cpp:281: error: 'CURLOPT_NOPROGRESS' was not declared in this scope
HttpClient.cpp:282: error: 'CURLOPT_NOSIGNAL' was not declared in this scope
HttpClient.cpp:287: error: 'CURLOPT_HTTPPOST' was not declared in this scope
HttpClient.cpp:291: error: 'CURLOPT_POSTFIELDS' was not declared in this scope
HttpClient.cpp:299: error: 'CURLOPT_PROXY' was not declared in this scope
HttpClient.cpp:305: error: 'CURLOPT_PROXY' was not declared in this scope
HttpClient.cpp:311: error: 'CURLOPT_PROXYUSERPWD' was not declared in this scopeHttpClient.cpp:315: error: 'res' was not declared in this scope
HttpClient.cpp:315: error: 'curl_easy_perform' was not declared in this scope
HttpClient.cpp:318: error: 'CURLINFO_EFFECTIVE_URL' was not declared in this scope
HttpClient.cpp:318: error: 'curl_easy_getinfo' was not declared in this scope
HttpClient.cpp:323: error: 'curl_easy_cleanup' was not declared in this scope
HttpClient.cpp:328: error: 'CURLE_OK' was not declared in this scope
HttpClient.cpp:331: error: 'curl_easy_strerror' was not declared in this scope
HttpClient.cpp:334: error: 'CURLE_OK' was not declared in this scope
HttpClient.cpp: In member function 'int HttpClient::DoGetInternal(const char*, HttpClientResponse&)':
HttpClient.cpp:380: error: 'CURLcode' was not declared in this scope
HttpClient.cpp:380: error: expected `;' before 'res'
HttpClient.cpp:392: error: 'curl_handle' was not declared in this scope
HttpClient.cpp:392: error: 'CURLOPT_URL' was not declared in this scope
HttpClient.cpp:392: error: 'curl_easy_setopt' was not declared in this scope
HttpClient.cpp:394: error: 'CURLOPT_FILE' was not declared in this scope
HttpClient.cpp:395: error: 'CURLOPT_WRITEHEADER' was not declared in this scope
HttpClient.cpp:396: error: 'CURLOPT_HTTPHEADER' was not declared in this scope
HttpClient.cpp:403: error: 'CURLOPT_PROXY' was not declared in this scope
HttpClient.cpp:409: error: 'CURLOPT_PROXY' was not declared in this scope
HttpClient.cpp:415: error: 'CURLOPT_PROXYUSERPWD' was not declared in this scopeHttpClient.cpp:419: error: 'res' was not declared in this scope
HttpClient.cpp:419: error: 'curl_easy_perform' was not declared in this scope
HttpClient.cpp:422: error: 'CURLINFO_EFFECTIVE_URL' was not declared in this scope
HttpClient.cpp:422: error: 'curl_easy_getinfo' was not declared in this scope
HttpClient.cpp:427: error: 'CURLINFO_CONTENT_TYPE' was not declared in this scope
HttpClient.cpp:435: error: 'CURLE_OK' was not declared in this scope
HttpClient.cpp:438: error: 'curl_easy_strerror' was not declared in this scope
HttpClient.cpp:441: error: 'CURLE_OK' was not declared in this scope
HttpClient.cpp: In member function 'void HttpClient::Reset()':
HttpClient.cpp:463: error: 'curl_slist_free_all' was not declared in this scope
HttpClient.cpp: In member function 'void HttpClient::FullReset()':
HttpClient.cpp:543: error: 'curl_handle' was not declared in this scope
HttpClient.cpp:544: error: 'curl_easy_cleanup' was not declared in this scope
HttpClient.cpp: In member function 'void HttpClient::Initialize()':
HttpClient.cpp:558: error: 'curl_handle' was not declared in this scope
HttpClient.cpp:558: error: 'curl_easy_init' was not declared in this scope
HttpClient.cpp:560: error: 'CURLOPT_WRITEFUNCTION' was not declared in this scope
HttpClient.cpp:560: error: 'curl_easy_setopt' was not declared in this scope
HttpClient.cpp:561: error: 'CURLOPT_HEADERFUNCTION' was not declared in this scope
HttpClient.cpp:562: error: 'CURLOPT_USERAGENT' was not declared in this scope
HttpClient.cpp:563: error: 'CURLOPT_FOLLOWLOCATION' was not declared in this scope
HttpClient.cpp:564: error: 'CURLOPT_MAXREDIRS' was not declared in this scope
HttpClient.cpp:567: error: 'CURLOPT_COOKIEFILE' was not declared in this scope
HttpClient.cpp:570: error: 'CURLOPT_SSLENGINE_DEFAULT' was not declared in this scope
HttpClient.cpp:571: error: 'CURLOPT_SSL_VERIFYPEER' was not declared in this scope
HttpClient.cpp:572: error: 'CURLOPT_SSL_VERIFYHOST' was not declared in this scope
HttpClient.cpp:573: error: 'CURLOPT_NOPROGRESS' was not declared in this scope
HttpClient.cpp:574: error: 'CURLOPT_NOSIGNAL' was not declared in this scope
make[1]: ** [HttpClient.o] Erro 1
make[1]: Saindo do diretório `/home/helder/Desktop/ypops-0.7.3/src'
make: ** [all] Erro 2

Estaria tudo resolvido se eu encontrasse um pacote com libssl.so.4. Esta lib em princípio eram para estar nos pacotes openssl ou libssl, mas no ubuntu não está. já procurei no google por pacotes debian com esta lib mas não encontrei. Este programa ypops é para receber emails no thunderbird via pop3. No windows funciona perfeitamente. E aqui em linux também deveria funcionar o problema é instalar o programa.

Lamego

dyool,
como já disse, é preferivel compilar da source do que converter dum rpm.

Esse erro na compilação é pela falta da biblioteca ncurses, pode instalar com:
sudo apt-get install libncurses-dev

João Luís Marques Pinto
Mais programs e jogos para o Ubuntu

dyool

Faço
sudo apt-get install libncurses-dev
obtenho:O pacote libncurses-dev é um pacote virtual disponibilizado por:
  libncurses5-dev 5.5-1ubuntu3
Você deve seleccionar explicitamente um para instalar.
E: O pacote libncurses-dev não tem candidato para instalação
depois de instalar libncurses5-dev 5.5-1ubuntu3 quando faço novamente make dá os seguintes erros: rm -f ypops
make mimelib;make libre_lib;make ypops
make[1]: Entrando no diretório `/home/helder/Desktop/ypops-0.7.3/src'
cd ../lib/mimepp-1.3.3;make -f makefile-unix rel_lib;cd
make[2]: Entrando no diretório `/home/helder/Desktop/ypops-0.7.3/lib/mimepp-1.3.3'
ar rc ./rel/libmimepp_core.a ./rel/address.o ./rel/addrlist.o ./rel/body.o ./rel/bodypart.o ./rel/bounds.o ./rel/boyermor.o ./rel/datetime.o ./rel/disptype.o ./rel/dw_cte.o ./rel/dw_date.o ./rel/dw_mime.o ./rel/encoded.o ./rel/entity.o ./rel/except.o ./rel/field.o ./rel/fieldbdy.o ./rel/group.o ./rel/headers.o ./rel/mailbox.o ./rel/mboxlist.o ./rel/mechansm.o ./rel/mediatyp.o ./rel/message.o ./rel/msgcmp.o ./rel/msgid.o ./rel/param.o ./rel/stamp.o ./rel/string.o ./rel/system.o ./rel/text.o ./rel/token.o
ranlib ./rel/libmimepp_core.a
ar rc ./rel/libmimepp_util.a ./rel/applfile.o ./rel/binhex.o ./rel/uuencode.o
ranlib ./rel/libmimepp_util.a
make[2]: Saindo do diretório `/home/helder/Desktop/ypops-0.7.3/lib/mimepp-1.3.3'make[1]: Saindo do diretório `/home/helder/Desktop/ypops-0.7.3/src'
make[1]: Entrando no diretório `/home/helder/Desktop/ypops-0.7.3/src'
cd ../lib/re_lib;make -f makefile.unix
make[2]: Entrando no diretório `/home/helder/Desktop/ypops-0.7.3/lib/re_lib'
ar q libre_lib.a regexp.o regsub.o
make[2]: Saindo do diretório `/home/helder/Desktop/ypops-0.7.3/lib/re_lib'
make[1]: Saindo do diretório `/home/helder/Desktop/ypops-0.7.3/src'
make[1]: Entrando no diretório `/home/helder/Desktop/ypops-0.7.3/src'
rm -f HttpClient.o
g++ -g -fkeep-inline-functions -fno-default-inline -D_REENTRANT -I../lib/re_lib -I../lib/mimepp-1.3.3/src -I../lib/mimepp-1.3.3/examples/email -I/usr/include/openssl -I/usr/include -c HttpClient.cpp
In file included from HttpClient.cpp:49:
HttpClient.h:46:23: error: curl/curl.h: No such file or directory
HttpClient.h:47:24: error: curl/types.h: No such file or directory
HttpClient.h:48:23: error: curl/easy.h: No such file or directory
HttpClient.h:102: error: ISO C++ forbids declaration of 'CURL' with no type
HttpClient.h:102: error: expected ';' before '*' token
HttpClient.cpp: In destructor 'virtual HttpClient::~HttpClient()':
HttpClient.cpp:120: error: 'curl_handle' was not declared in this scope
HttpClient.cpp:121: error: 'curl_easy_cleanup' was not declared in this scope
HttpClient.cpp: In member function 'BOOL HttpClient::AddHeader(const char*, const char*)':
HttpClient.cpp:188: error: 'curl_slist_append' was not declared in this scope
HttpClient.cpp: In member function 'BOOL HttpClient::DoPostInternal(const char*, const void*, HttpClientResponse&, bool)':
HttpClient.cpp:244: error: 'CURL' was not declared in this scope
HttpClient.cpp:244: error: 'curl_handle' was not declared in this scope
HttpClient.cpp:245: error: 'CURLcode' was not declared in this scope
HttpClient.cpp:245: error: expected `;' before 'res'
HttpClient.cpp:255: error: 'curl_easy_init' was not declared in this scope
HttpClient.cpp:260: error: 'CURLOPT_URL' was not declared in this scope
HttpClient.cpp:260: error: 'curl_easy_setopt' was not declared in this scope
HttpClient.cpp:263: error: 'CURLOPT_WRITEFUNCTION' was not declared in this scope
HttpClient.cpp:264: error: 'CURLOPT_FILE' was not declared in this scope
HttpClient.cpp:265: error: 'CURLOPT_HEADERFUNCTION' was not declared in this scope
HttpClient.cpp:266: error: 'CURLOPT_WRITEHEADER' was not declared in this scope
HttpClient.cpp:268: error: 'CURLOPT_USERAGENT' was not declared in this scope
HttpClient.cpp:269: error: 'CURLOPT_HTTPHEADER' was not declared in this scope
HttpClient.cpp:270: error: 'CURLOPT_FOLLOWLOCATION' was not declared in this scope
HttpClient.cpp:271: error: 'CURLOPT_MAXREDIRS' was not declared in this scope
HttpClient.cpp:278: error: 'CURLOPT_SSLENGINE_DEFAULT' was not declared in this scope
HttpClient.cpp:279: error: 'CURLOPT_SSL_VERIFYPEER' was not declared in this scope
HttpClient.cpp:280: error: 'CURLOPT_SSL_VERIFYHOST' was not declared in this scope
HttpClient.cpp:281: error: 'CURLOPT_NOPROGRESS' was not declared in this scope
HttpClient.cpp:282: error: 'CURLOPT_NOSIGNAL' was not declared in this scope
HttpClient.cpp:287: error: 'CURLOPT_HTTPPOST' was not declared in this scope
HttpClient.cpp:291: error: 'CURLOPT_POSTFIELDS' was not declared in this scope
HttpClient.cpp:299: error: 'CURLOPT_PROXY' was not declared in this scope
HttpClient.cpp:305: error: 'CURLOPT_PROXY' was not declared in this scope
HttpClient.cpp:311: error: 'CURLOPT_PROXYUSERPWD' was not declared in this scopeHttpClient.cpp:315: error: 'res' was not declared in this scope
HttpClient.cpp:315: error: 'curl_easy_perform' was not declared in this scope
HttpClient.cpp:318: error: 'CURLINFO_EFFECTIVE_URL' was not declared in this scope
HttpClient.cpp:318: error: 'curl_easy_getinfo' was not declared in this scope
HttpClient.cpp:323: error: 'curl_easy_cleanup' was not declared in this scope
HttpClient.cpp:328: error: 'CURLE_OK' was not declared in this scope
HttpClient.cpp:331: error: 'curl_easy_strerror' was not declared in this scope
HttpClient.cpp:334: error: 'CURLE_OK' was not declared in this scope
HttpClient.cpp: In member function 'int HttpClient::DoGetInternal(const char*, HttpClientResponse&)':
HttpClient.cpp:380: error: 'CURLcode' was not declared in this scope
HttpClient.cpp:380: error: expected `;' before 'res'
HttpClient.cpp:392: error: 'curl_handle' was not declared in this scope
HttpClient.cpp:392: error: 'CURLOPT_URL' was not declared in this scope
HttpClient.cpp:392: error: 'curl_easy_setopt' was not declared in this scope
HttpClient.cpp:394: error: 'CURLOPT_FILE' was not declared in this scope
HttpClient.cpp:395: error: 'CURLOPT_WRITEHEADER' was not declared in this scope
HttpClient.cpp:396: error: 'CURLOPT_HTTPHEADER' was not declared in this scope
HttpClient.cpp:403: error: 'CURLOPT_PROXY' was not declared in this scope
HttpClient.cpp:409: error: 'CURLOPT_PROXY' was not declared in this scope
HttpClient.cpp:415: error: 'CURLOPT_PROXYUSERPWD' was not declared in this scopeHttpClient.cpp:419: error: 'res' was not declared in this scope
HttpClient.cpp:419: error: 'curl_easy_perform' was not declared in this scope
HttpClient.cpp:422: error: 'CURLINFO_EFFECTIVE_URL' was not declared in this scope
HttpClient.cpp:422: error: 'curl_easy_getinfo' was not declared in this scope
HttpClient.cpp:427: error: 'CURLINFO_CONTENT_TYPE' was not declared in this scope
HttpClient.cpp:435: error: 'CURLE_OK' was not declared in this scope
HttpClient.cpp:438: error: 'curl_easy_strerror' was not declared in this scope
HttpClient.cpp:441: error: 'CURLE_OK' was not declared in this scope
HttpClient.cpp: In member function 'void HttpClient::Reset()':
HttpClient.cpp:463: error: 'curl_slist_free_all' was not declared in this scope
HttpClient.cpp: In member function 'void HttpClient::FullReset()':
HttpClient.cpp:543: error: 'curl_handle' was not declared in this scope
HttpClient.cpp:544: error: 'curl_easy_cleanup' was not declared in this scope
HttpClient.cpp: In member function 'void HttpClient::Initialize()':
HttpClient.cpp:558: error: 'curl_handle' was not declared in this scope
HttpClient.cpp:558: error: 'curl_easy_init' was not declared in this scope
HttpClient.cpp:560: error: 'CURLOPT_WRITEFUNCTION' was not declared in this scope
HttpClient.cpp:560: error: 'curl_easy_setopt' was not declared in this scope
HttpClient.cpp:561: error: 'CURLOPT_HEADERFUNCTION' was not declared in this scope
HttpClient.cpp:562: error: 'CURLOPT_USERAGENT' was not declared in this scope
HttpClient.cpp:563: error: 'CURLOPT_FOLLOWLOCATION' was not declared in this scope
HttpClient.cpp:564: error: 'CURLOPT_MAXREDIRS' was not declared in this scope
HttpClient.cpp:567: error: 'CURLOPT_COOKIEFILE' was not declared in this scope
HttpClient.cpp:570: error: 'CURLOPT_SSLENGINE_DEFAULT' was not declared in this scope
HttpClient.cpp:571: error: 'CURLOPT_SSL_VERIFYPEER' was not declared in this scope
HttpClient.cpp:572: error: 'CURLOPT_SSL_VERIFYHOST' was not declared in this scope
HttpClient.cpp:573: error: 'CURLOPT_NOPROGRESS' was not declared in this scope
HttpClient.cpp:574: error: 'CURLOPT_NOSIGNAL' was not declared in this scope
make[1]: ** [HttpClient.o] Erro 1
make[1]: Saindo do diretório `/home/helder/Desktop/ypops-0.7.3/src'
make: ** [all] Erro 2



Lamego

Tenta:
make distclean
./configure

Com isto ele deveria encontrar a biblioteca...
João Luís Marques Pinto
Mais programs e jogos para o Ubuntu