Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 142247 - Proxytunnel: Package libcrypto was not found in the pkg-config search path.
Summary: Proxytunnel: Package libcrypto was not found in the pkg-config search path.
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Other
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-31 00:56 UTC by Alexander Skwar
Modified: 2006-07-31 20:53 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Skwar 2006-07-31 00:56:17 UTC
Some days ago, I installed a system with Gentoo ~x86. Now I'm rebuilding EVERY package that's installed and the rebuild fails at net-misc/proxytunnel-1.6.0-r1:

i686-pc-linux-gnu-gcc -O2 -march=pentium4 -pipe -DHAVE_GETOPT_LONG -DUSE_SSL -DSETPROCTITLE -DSPT_TYPE=1   -c -o ntlm.o ntlm.c
Package libcrypto was not found in the pkg-config search path.
Perhaps you should add the directory containing `libcrypto.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libcrypto' found
i686-pc-linux-gnu-gcc -o proxytunnel -O2 -march=pentium4 -pipe -DHAVE_GETOPT_LONG -DUSE_SSL -DSETPROCTITLE -DSPT_TYPE=1 proxytunnel.o base64.o setproctitle.o io.o http.o basicauth.o messages.o cmdline.o ntlm.o -lssl
ntlm.o: In function `build_ntlm2_response':
ntlm.c:(.text+0x1fa): undefined reference to `MD4_Init'
ntlm.c:(.text+0x20e): undefined reference to `MD4_Update'
ntlm.c:(.text+0x21d): undefined reference to `MD4_Final'
collect2: ld gab 1 als Ende-Status zur
Comment 1 Alexander Skwar 2006-07-31 00:56:17 UTC
Some days ago, I installed a system with Gentoo ~x86. Now I'm rebuilding EVERY package that's installed and the rebuild fails at net-misc/proxytunnel-1.6.0-r1:

i686-pc-linux-gnu-gcc -O2 -march=pentium4 -pipe -DHAVE_GETOPT_LONG -DUSE_SSL -DSETPROCTITLE -DSPT_TYPE=1   -c -o ntlm.o ntlm.c
Package libcrypto was not found in the pkg-config search path.
Perhaps you should add the directory containing `libcrypto.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libcrypto' found
i686-pc-linux-gnu-gcc -o proxytunnel -O2 -march=pentium4 -pipe -DHAVE_GETOPT_LONG -DUSE_SSL -DSETPROCTITLE -DSPT_TYPE=1 proxytunnel.o base64.o setproctitle.o io.o http.o basicauth.o messages.o cmdline.o ntlm.o -lssl
ntlm.o: In function `build_ntlm2_response':
ntlm.c:(.text+0x1fa): undefined reference to `MD4_Init'
ntlm.c:(.text+0x20e): undefined reference to `MD4_Update'
ntlm.c:(.text+0x21d): undefined reference to `MD4_Final'
collect2: ld gab 1 als Ende-Status zurück
make: *** [proxytunnel] Fehler 1

On my system, there's NO libcrypto.pc. 

(chroot1) dewup-ww02 pkg # ls -la /usr/lib/*crypto*
-rw-r--r-- 1 root root 1973830 28. Jul 03:39 /usr/lib/libcrypto.a
lrwxrwxrwx 1 root root      14 28. Jul 03:39 /usr/lib/libcrypto.so -> libcrypto.so.0
lrwxrwxrwx 1 root root      18 28. Jul 03:39 /usr/lib/libcrypto.so.0 -> libcrypto.so.0.9.7
-r-xr-xr-x 1 root root 1032584 28. Jul 03:39 /usr/lib/libcrypto.so.0.9.7


Why is libcrypto not found? I've got openssl-0.9.7j installed.


On another system, proxytunnel rebuilds just fine - there's no libcrypto.pc file on this system as well.

(chroot1) dewup-ww02 pkg # emerge --info
Portage 2.1.1_pre3-r1 (default-linux/x86/2006.0, gcc-4.1.1/vanilla, glibc-2.4-r3, 2.6.17-gentoo-r3.05 i686)
=================================================================
System uname: 2.6.17-gentoo-r3.05 i686 Intel(R) Xeon(TM) CPU 2.40GHz
Gentoo Base System version 1.12.1
ccache version 2.4 [enabled]
app-admin/eselect-compiler: 2.0.0_rc2-r1
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r2
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17
sys-devel/gcc-config: 2.0.0_rc1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=pentium4 -pipe"
DISTDIR="/Gentoo/portage/distfiles"
EMERGE_DEFAULT_OPTS="--alphabetical"
FEATURES="autoconfig buildpkg ccache collision-protect distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="         http://localhost/~vz6tml/gentoo-files http://dewup-ww02.dewup.europe.delphiauto.net/~vz6tml/gentoo-files         http://localhost/gentoo-files/ http://dewup-ww02.dewup.europe.delphiauto.net/gentoo-files/         http://localhost/~vz6tml/gentoo-files/ http://cifs-srvr1.europe.delphiauto.net/~vz6tml/Misc._Software/Gentoo/          http://alexander.skwar.name/~askwar/stuff/gentoo/            http://localhost:60081/pub/Mirrors/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/         http://localhost:60080/pub/gentoo/ http://pandemonium.tiscali.de/pub/gentoo/         http://localhost:60082/mirror/rsync.gentoo.org/gentoo/ http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/         ftp://pandemonium.tiscali.de/pub/gentoo/         http://localhost:60083/pub/linux/distributions/gentoo/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/          http://distro.ibiblio.org/pub/linux/distributions/gentoo/         ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/          http://localhost:60084/ http://distfiles.gentoo.org/ "
LANG="de_DE.utf8"
LINGUAS="de"
MAKEOPTS="-j3"
PKGDIR="/Gentoo/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/Gentoo/portage/tmp"
PORTDIR="/Gentoo/portage/tree"
PORTDIR_OVERLAY="/Gentoo/portage/local-tree/misc"
SYNC="rsync://localhost:10873/gentoo-portage"
USE="x86 X acl apache2 apm avi bash-completion berkdb bitmap-fonts cli crypt cups dbus dlloader dri emboss encode fam firefox foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 hal imlib isdnlog jikes jpeg kde kdeenablefinal kdehiddenvisibility libg++ libwww mad mikmod mmx motif mp3 mpeg ncurses nis nls noaudio nptl nptlonly offensive ogg pam pcre pdflib perl png pppd python qt qt3 qt4 quicktime readline reflection samba sdl session spell spl sse sse2 ssl tcpd tiff truetype truetype-fonts type1-fonts udev unicode vorbis xml xmms xorg xv zlib elibc_glibc input_devices_evdev input_devices_keyboard input_devices_mouse input_devices_void kernel_linux linguas_de userland_GNU video_cards_ati video_cards_vesa video_cards_vga video_cards_none"
Unset:  CTARGET, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Alexander Skwar 2006-07-31 01:00:48 UTC
Hm, strange. I now recompiled openssl and now I was able to recompile proxytunnel as well.

Nevermind.