Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 15th January 2010, 11:07 PM
giuliopepe Offline
Registered User
 
Join Date: Jul 2009
Age: 23
Posts: 51
linuxfedorafirefox
libssl-dev package missing

I've been searching for a whole day this package, but yum couldn't find it and even googling it I can only find debian packages for that. Does anyone know how to find it in .rpm?

I need it for compiling the vpnc client with openssl (still wondering why the ssl certification was excluded in the in-built package) because without it I get errors.
__________________
Noob Linux user alert - sorry if I make silly questions!
Working station: acer Aspire 5738G
Reply With Quote
  #2  
Old 15th January 2010, 11:13 PM
leigh123linux's Avatar
leigh123linux Offline
Retired Administrator
 
Join Date: Oct 2006
Posts: 21,509
linuxfedorafirefox
Quote:
Originally Posted by giuliopepe View Post
I've been searching for a whole day this package, but yum couldn't find it and even googling it I can only find debian packages for that. Does anyone know how to find it in .rpm?

I need it for compiling the vpnc client with openssl (still wondering why the ssl certification was excluded in the in-built package) because without it I get errors.
Try using yum to search

Code:
[leigh@localhost devel]$ yum provides */libssl.so
Loaded plugins: fastestmirror, presto, refresh-packagekit, remove-with-leaves,
              : show-leaves
openssl-devel-1.0.0-0.10.beta3.fc12.i686 : Files for development of applications
                                         : which will use OpenSSL
Repo        : fedora
Matched from:
Filename    : /usr/lib/libssl.so



openssl-devel-1.0.0-0.10.beta3.fc12.x86_64 : Files for development of
                                           : applications which will use OpenSSL
Repo        : fedora
Matched from:
Filename    : /usr/lib64/libssl.so



openssl-devel-1.0.0-0.13.beta4.fc12.i686 : Files for development of applications
                                         : which will use OpenSSL
Repo        : updates
Matched from:
Filename    : /usr/lib/libssl.so



openssl-devel-1.0.0-0.13.beta4.fc12.x86_64 : Files for development of
                                           : applications which will use OpenSSL
Repo        : updates
Matched from:
Filename    : /usr/lib64/libssl.so



openssl-devel-1.0.0-0.13.beta4.fc12.x86_64 : Files for development of
                                           : applications which will use OpenSSL
Repo        : installed
Matched from:
Filename    : /usr/lib64/libssl.so



[leigh@localhost devel]$
Reply With Quote
  #3  
Old 16th January 2010, 12:01 AM
giuliopepe Offline
Registered User
 
Join Date: Jul 2009
Age: 23
Posts: 51
linuxfedorafirefox
Many thanks, I really need more practice And it was already installed!

Anyway, the real problem is not solved, I can't compile vpnc: when before

Code:
 make && make install
gave me a series of error now it just gives me:

Code:
make: *** No targets specified and no makefile found.  Stop.
I've never compiled so much stuff, then I'm an absolute beginner and I didn't find much material online neither (for this program). I should open another topic, right?

*** Quick edit: with another version of vpnc (0.5.3) now make works, at least, but I can't figure out what this means:

Code:
LC_ALL=C perl -w ./enum2debug.pl isakmp.h >vpnc-debug.c 2>vpnc-debug.h
gcc -MM sysdep.c vpnc-debug.c isakmp-pkt.c tunip.c config.c dh.c math_group.c supp.c decrypt-utils.c vpnc.c cisco-decrypt.c -O3 -g -W -Wall -Wmissing-declarations -Wwrite-strings  -DVERSION=\"0.5.3\" -DOPENSSL_GPL_VIOLATION > .depend
gcc -O3 -g -W -Wall -Wmissing-declarations -Wwrite-strings  -DVERSION=\"0.5.3\" -DOPENSSL_GPL_VIOLATION  -c -o sysdep.o sysdep.c
gcc -O3 -g -W -Wall -Wmissing-declarations -Wwrite-strings  -DVERSION=\"0.5.3\" -DOPENSSL_GPL_VIOLATION  -c -o vpnc-debug.o vpnc-debug.c
gcc -O3 -g -W -Wall -Wmissing-declarations -Wwrite-strings  -DVERSION=\"0.5.3\" -DOPENSSL_GPL_VIOLATION  -c -o isakmp-pkt.o isakmp-pkt.c
isakmp-pkt.c: In function ‘parse_isakmp_packet’:
isakmp-pkt.c:823: warning: format ‘%d’ expects type ‘int’, but argument 2 has type ‘size_t’
gcc -O3 -g -W -Wall -Wmissing-declarations -Wwrite-strings  -DVERSION=\"0.5.3\" -DOPENSSL_GPL_VIOLATION  -c -o tunip.o tunip.c
tunip.c: In function ‘encap_rawip_recv’:
tunip.c:180: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘ssize_t’
tunip.c: In function ‘encap_udp_recv’:
tunip.c:220: warning: format ‘%d’ expects type ‘int’, but argument 4 has type ‘ssize_t’
gcc -O3 -g -W -Wall -Wmissing-declarations -Wwrite-strings  -DVERSION=\"0.5.3\" -DOPENSSL_GPL_VIOLATION  -c -o config.o config.c
gcc -O3 -g -W -Wall -Wmissing-declarations -Wwrite-strings  -DVERSION=\"0.5.3\" -DOPENSSL_GPL_VIOLATION  -c -o dh.o dh.c
gcc -O3 -g -W -Wall -Wmissing-declarations -Wwrite-strings  -DVERSION=\"0.5.3\" -DOPENSSL_GPL_VIOLATION  -c -o math_group.o math_group.c
gcc -O3 -g -W -Wall -Wmissing-declarations -Wwrite-strings  -DVERSION=\"0.5.3\" -DOPENSSL_GPL_VIOLATION  -c -o supp.o supp.c
gcc -O3 -g -W -Wall -Wmissing-declarations -Wwrite-strings  -DVERSION=\"0.5.3\" -DOPENSSL_GPL_VIOLATION  -c -o decrypt-utils.o decrypt-utils.c
gcc -O3 -g -W -Wall -Wmissing-declarations -Wwrite-strings  -DVERSION=\"0.5.3\" -DOPENSSL_GPL_VIOLATION  -c -o vpnc.o vpnc.c
vpnc.c: In function ‘do_config_to_env’:
vpnc.c:938: warning: dereferencing type-punned pointer will break strict-aliasing rules
gcc -o vpnc sysdep.o vpnc-debug.o isakmp-pkt.o tunip.o config.o dh.o math_group.o supp.o decrypt-utils.o vpnc.o -g -lgcrypt -ldl -lgpg-error -lcrypto
gcc -O3 -g -W -Wall -Wmissing-declarations -Wwrite-strings  -DVERSION=\"0.5.3\" -DOPENSSL_GPL_VIOLATION  -c -o cisco-decrypt.o cisco-decrypt.c
gcc -o cisco-decrypt cisco-decrypt.o decrypt-utils.o -g -lgcrypt -ldl -lgpg-error -lcrypto
./makeman.pl
sed -e 's,@''PREFIX''@,/usr/local,g' vpnc-script.in > vpnc-script && chmod 755 vpnc-script
__________________
Noob Linux user alert - sorry if I make silly questions!
Working station: acer Aspire 5738G

Last edited by giuliopepe; 16th January 2010 at 12:06 AM.
Reply With Quote
  #4  
Old 16th January 2010, 03:36 AM
leigh123linux's Avatar
leigh123linux Offline
Retired Administrator
 
Join Date: Oct 2006
Posts: 21,509
linuxfedorafirefox
Quote:
Originally Posted by giuliopepe View Post
Many thanks, I really need more practice And it was already installed!

Anyway, the real problem is not solved, I can't compile vpnc: when before

Code:
 make && make install
gave me a series of error now it just gives me:

Code:
make: *** No targets specified and no makefile found.  Stop.
I've never compiled so much stuff, then I'm an absolute beginner and I didn't find much material online neither (for this program). I should open another topic, right?

*** Quick edit: with another version of vpnc (0.5.3) now make works, at least, but I can't figure out what this means:

Code:
LC_ALL=C perl -w ./enum2debug.pl isakmp.h >vpnc-debug.c 2>vpnc-debug.h
gcc -MM sysdep.c vpnc-debug.c isakmp-pkt.c tunip.c config.c dh.c math_group.c supp.c decrypt-utils.c vpnc.c cisco-decrypt.c -O3 -g -W -Wall -Wmissing-declarations -Wwrite-strings  -DVERSION=\"0.5.3\" -DOPENSSL_GPL_VIOLATION > .depend
gcc -O3 -g -W -Wall -Wmissing-declarations -Wwrite-strings  -DVERSION=\"0.5.3\" -DOPENSSL_GPL_VIOLATION  -c -o sysdep.o sysdep.c
gcc -O3 -g -W -Wall -Wmissing-declarations -Wwrite-strings  -DVERSION=\"0.5.3\" -DOPENSSL_GPL_VIOLATION  -c -o vpnc-debug.o vpnc-debug.c
gcc -O3 -g -W -Wall -Wmissing-declarations -Wwrite-strings  -DVERSION=\"0.5.3\" -DOPENSSL_GPL_VIOLATION  -c -o isakmp-pkt.o isakmp-pkt.c
isakmp-pkt.c: In function ‘parse_isakmp_packet’:
isakmp-pkt.c:823: warning: format ‘%d’ expects type ‘int’, but argument 2 has type ‘size_t’
gcc -O3 -g -W -Wall -Wmissing-declarations -Wwrite-strings  -DVERSION=\"0.5.3\" -DOPENSSL_GPL_VIOLATION  -c -o tunip.o tunip.c
tunip.c: In function ‘encap_rawip_recv’:
tunip.c:180: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘ssize_t’
tunip.c: In function ‘encap_udp_recv’:
tunip.c:220: warning: format ‘%d’ expects type ‘int’, but argument 4 has type ‘ssize_t’
gcc -O3 -g -W -Wall -Wmissing-declarations -Wwrite-strings  -DVERSION=\"0.5.3\" -DOPENSSL_GPL_VIOLATION  -c -o config.o config.c
gcc -O3 -g -W -Wall -Wmissing-declarations -Wwrite-strings  -DVERSION=\"0.5.3\" -DOPENSSL_GPL_VIOLATION  -c -o dh.o dh.c
gcc -O3 -g -W -Wall -Wmissing-declarations -Wwrite-strings  -DVERSION=\"0.5.3\" -DOPENSSL_GPL_VIOLATION  -c -o math_group.o math_group.c
gcc -O3 -g -W -Wall -Wmissing-declarations -Wwrite-strings  -DVERSION=\"0.5.3\" -DOPENSSL_GPL_VIOLATION  -c -o supp.o supp.c
gcc -O3 -g -W -Wall -Wmissing-declarations -Wwrite-strings  -DVERSION=\"0.5.3\" -DOPENSSL_GPL_VIOLATION  -c -o decrypt-utils.o decrypt-utils.c
gcc -O3 -g -W -Wall -Wmissing-declarations -Wwrite-strings  -DVERSION=\"0.5.3\" -DOPENSSL_GPL_VIOLATION  -c -o vpnc.o vpnc.c
vpnc.c: In function ‘do_config_to_env’:
vpnc.c:938: warning: dereferencing type-punned pointer will break strict-aliasing rules
gcc -o vpnc sysdep.o vpnc-debug.o isakmp-pkt.o tunip.o config.o dh.o math_group.o supp.o decrypt-utils.o vpnc.o -g -lgcrypt -ldl -lgpg-error -lcrypto
gcc -O3 -g -W -Wall -Wmissing-declarations -Wwrite-strings  -DVERSION=\"0.5.3\" -DOPENSSL_GPL_VIOLATION  -c -o cisco-decrypt.o cisco-decrypt.c
gcc -o cisco-decrypt cisco-decrypt.o decrypt-utils.o -g -lgcrypt -ldl -lgpg-error -lcrypto
./makeman.pl
sed -e 's,@''PREFIX''@,/usr/local,g' vpnc-script.in > vpnc-script && chmod 755 vpnc-script

Do you mean these compiler warnings? , if so they can be ignored .






.
__________________
My Hardware
- CPU: AMD Phenom II X6 Hex Core 1055T 95W Edition @3.5Ghz
- Motherboard: Gigabyte GA-880GM-UD2H
- Cooler: Corsair H50 CPU Cooler
- RAM: Corsair Dominator 8GB (4x2GB) DDR3 1600MHz
- Graphics: Gigabyte GeForce GTS 450 OC 1024MB GDDR5
Reply With Quote
  #5  
Old 17th January 2010, 02:59 PM
giuliopepe Offline
Registered User
 
Join Date: Jul 2009
Age: 23
Posts: 51
linuxfedorafirefox
compiling vpnc

ok, thanks.

The problem, unfortunately still remanis, I'll explain what is it:

the packages of vpnc are not compiled with the ssl certification (such as openssl), and I need it (as almost everybody) with ssl. Then I need to compile the source of vpnc modifying "Makefile" and uncomment the third and fourth line of:
Code:
 # Comment this in to obtain a binary with certificate support which is
# GPL incompliant though.
#OPENSSL_GPL_VIOLATION = -DOPENSSL_GPL_VIOLATION
#OPENSSLLIBS = -lcrypto
obtaining:
Code:
 # Comment this in to obtain a binary with certificate support which is
# GPL incompliant though.
OPENSSL_GPL_VIOLATION = -DOPENSSL_GPL_VIOLATION
OPENSSLLIBS = -lcrypto
Then "make" gives me the last output and:

Code:
[giuliopepe@acer vpnc-0.5.3]$ sudo make install
install -d /etc/vpnc /usr/local/bin /usr/local/sbin /usr/local/share/man/man1 /usr/local/share/man/man8 /usr/local/share/doc/vpnc
if [ "`uname -s | cut -c-6`" = "CYGWIN" ]; then \
		install vpnc-script-win /etc/vpnc/vpnc-script; \
		install vpnc-script-win.js /etc/vpnc; \
	else \
		install vpnc-script /etc/vpnc; \
	fi
install -m600 vpnc.conf /etc/vpnc/default.conf
install -m755 vpnc-disconnect /usr/local/sbin
install -m755 pcf2vpnc /usr/local/bin
install -m644 vpnc.8 /usr/local/share/man/man8
install -m644 pcf2vpnc.1 /usr/local/share/man/man1
install -m644 cisco-decrypt.1 /usr/local/share/man/man1
install -m644 COPYING /usr/local/share/doc/vpnc
install -m755 vpnc /usr/local/sbin
install -m755 cisco-decrypt /usr/local/bin
The result is:

Code:
[giuliopepe@acer vpnc-0.5.3]$ sudo vpnc
vpnc was built without openssl: Can't do hybrid or cert mode.
Where is the mistake?

---------- Post added at 02:59 PM CST ---------- Previous post was at 02:41 PM CST ----------

The mistake is me!

I forgot to remove the last installation (without ssl) and with "sudo vpcn" the old installation was starting.
I removed that and

Code:
 [giuliopepe@acer vpnc-0.5.3]$ sudo /usr/local/sbin/vpnc
Enter username for...
Hurray! Thank you leigh for your help. Very kind

Very last question: how do I remove the installation? Do I need to remove the files singularly, or there is a command?
__________________
Noob Linux user alert - sorry if I make silly questions!
Working station: acer Aspire 5738G
Reply With Quote
  #6  
Old 17th January 2010, 03:01 PM
JEO Offline
Registered User
 
Join Date: Jan 2006
Posts: 2,769
linuxfedorafirefox
I would try the command:

which vpnc

and if it does not show it in /usr/local/sbin then you need to rename the old one that is ahead of it in your environment PATH. (to see the path type echo $PATH)
Reply With Quote
Reply

Tags
libssl

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
pkg-config missing package Indian Using Fedora 0 6th September 2009 05:34 PM
64 bit gcc devel package missing zootboy Using Fedora 10 30th July 2009 10:47 PM
Missing some package Onlinetest Alpha - Beta (Fedora 9 Only) 0 17th April 2008 08:20 AM
FC5 libssl.so.5 and libssl.so.6 (howto) Mouse33 Guides & Solutions (No Questions) 5 20th September 2006 08:39 PM
FC5 libssl.so.5 and libssl.so.6 (howto) Mouse33 EOL (End Of Life) Versions 4 20th September 2006 07:53 PM


Current GMT-time: 06:03 (Friday, 24-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat