Project

General

Profile

Bug #355

Miising libcrypt

Added by Eric Valette almost 14 years ago. Updated almost 14 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
Category:
General
Target version:
Start date:
2011-01-12
Due date:
% Done:

0%

Estimated time:
Found in version:
Affected Versions:

Description

build.Linux/bundles/src/webui/static.c -s src/webui/static -d build.Linux/bundles/src/webui/static.d -p src/webui/static -z
cc -I/home/valette/local/local-src/tvheadend/src -c -o build.Linux/bundles/src/webui/static.o build.Linux/bundles/src/webui/static.c
cc -O -fbuiltin -fomit-frame-pointer -fPIC -shared -o build.Linux/src/extra/capmt_ca.so src/extra/capmt_ca.c -ldl
cc -o build.Linux/tvheadend build.Linux/src/main.o build.Linux/src/utils.o build.Linux/src/wrappers.o build.Linux/src/version.o build.Linux/src/access.o build.Linux/src/dtable.o build.Linux/src/tcp.o build.Linux/src/http.o build.Linux/src/notify.o build.Linux/src/epg.o build.Linux/src/xmltv.o build.Linux/src/spawn.o build.Linux/src/packet.o build.Linux/src/streaming.o build.Linux/src/teletext.o build.Linux/src/channels.o build.Linux/src/subscriptions.o build.Linux/src/service.o build.Linux/src/psi.o build.Linux/src/parsers.o build.Linux/src/parser_h264.o build.Linux/src/parser_latm.o build.Linux/src/tsdemux.o build.Linux/src/bitstream.o build.Linux/src/htsp.o build.Linux/src/serviceprobe.o build.Linux/src/htsmsg.o build.Linux/src/htsmsg_binary.o build.Linux/src/htsmsg_json.o build.Linux/src/htsmsg_xml.o build.Linux/src/settings.o build.Linux/src/htsbuf.o build.Linux/src/trap.o build.Linux/src/avg.o build.Linux/src/htsstr.o build.Linux/src/rawtsinput.o build.Linux/src/iptv_input.o build.Linux/src/plumbing/tsfix.o build.Linux/src/plumbing/globalheaders.o build.Linux/src/dvr/dvr_db.o build.Linux/src/dvr/dvr_rec.o build.Linux/src/dvr/dvr_autorec.o build.Linux/src/dvr/ebml.o build.Linux/src/dvr/mkmux.o build.Linux/src/cwc.o build.Linux/src/capmt.o build.Linux/src/ffdecsa/ffdecsa_interface.o build.Linux/src/ffdecsa/ffdecsa_int.o build.Linux/src/webui/webui.o build.Linux/src/webui/comet.o build.Linux/src/webui/extjs.o build.Linux/src/webui/simpleui.o build.Linux/src/webui/statedump.o build.Linux/src/dvb/dvb.o build.Linux/src/dvb/dvb_support.o build.Linux/src/dvb/dvb_fe.o build.Linux/src/dvb/dvb_tables.o build.Linux/src/dvb/diseqc.o build.Linux/src/dvb/dvb_adapter.o build.Linux/src/dvb/dvb_multiplex.o build.Linux/src/dvb/dvb_transport.o build.Linux/src/dvb/dvb_preconf.o build.Linux/src/dvb/dvb_satconf.o build.Linux/src/webui/extjs_dvb.o build.Linux/src/v4l.o build.Linux/src/webui/extjs_v4l.o build.Linux/src/ffdecsa/ffdecsa_mmx.o build.Linux/src/ffdecsa/ffdecsa_sse2.o build.Linux/src/avahi.o build.Linux/bundles/docs/html.o build.Linux/bundles/docs/docresources.o build.Linux/bundles/src/webui/static.o -lrt -ldl -lavahi-common -lavahi-client -lssl -lpthread -lm
/usr/bin/ld: build.Linux/src/cwc.o: undefined reference to symbol 'DES_key_sched@OPENSSL_1.0.0'
/usr/bin/ld: note: 'DES_key_sched
@OPENSSL_1.0.0' is defined in DSO //usr/lib64/libcrypto.so.1.0.0 so try adding it to the linker command line
//usr/lib64/libcrypto.so.1.0.0: could not read symbols: Invalid operation

Adding -lcrypt to build.linux/config.mak fixed the problem.

History

#1

Updated by Andreas Smas almost 14 years ago

  • Status changed from New to Need feedback

On what OS/version is this?

I assume they removed DES_key_sched() in OpenSSL 1.0.0?

I used 0.9.8o-1ubuntu4.2 when writing the code.

#2

Updated by Eric Valette almost 14 years ago

uname -a
Linux funtwist 2.6.36.3 #11 SMP PREEMPT Sat Jan 8 16:36:43 CET 2011 x86_64 GNU/Linux

cat /etc/debian_version
6.0

In fact I have a mixed debian unstable/experimental

ls l /usr/lib/libssl*
lrwxrwxrwx 1 root root 13 24 déc. 14:46 /usr/lib/libssl3.so -> libssl3.so.1d
-rw-r--r-
1 root root 194536 18 déc. 09:35 /usr/lib/libssl3.so.1d
rw-r--r- 1 root root 572946 19 déc. 19:34 /usr/lib/libssl.a
lrwxrwxrwx 1 root root 15 24 déc. 14:46 /usr/lib/libssl.so > libssl.so.1.0.0
-rw-r--r-
1 root root 348880 6 déc. 20:46 /usr/lib/libssl.so.0.9.8
rw-r--r- 1 root root 352992 19 déc. 19:34 /usr/lib/libssl.so.1.0.0

So libssl is 1.0 by default.

libssl1.0.0
Status: install ok installed
Priority: important
Section: libs
Installed-Size: 2716
Maintainer: Debian OpenSSL Team <>
Architecture: amd64
Source: openssl
Version: 1.0.0c-2
Depends: libc6 (>= 2.7), zlib1g (>= 1:1.1.4), debconf (>= 0.5) | debconf-2.0
Description: SSL shared libraries
libssl and libcrypto shared libraries needed by programs like
apache-ssl, telnet-ssl and openssh.
.
It is part of the OpenSSL implementation of SSL.

#3

Updated by Andreas Smas almost 14 years ago

  • Status changed from Need feedback to Fixed

Fixed (hopefully) in http://bit.ly/hKxppA

#4

Updated by Eric Valette almost 14 years ago

You fixed the symbols that were causing the problem but I still have one:

cc -o build.Linux/tvheadend build.Linux/src/main.o build.Linux/src/utils.o build.Linux/src/wrappers.o build.Linux/src/version.o build.Linux/src/access.o build.Linux/src/dtable.o build.Linux/src/tcp.o build.Linux/src/http.o build.Linux/src/notify.o build.Linux/src/epg.o build.Linux/src/xmltv.o build.Linux/src/spawn.o build.Linux/src/packet.o build.Linux/src/streaming.o build.Linux/src/teletext.o build.Linux/src/channels.o build.Linux/src/subscriptions.o build.Linux/src/service.o build.Linux/src/psi.o build.Linux/src/parsers.o build.Linux/src/parser_h264.o build.Linux/src/parser_latm.o build.Linux/src/tsdemux.o build.Linux/src/bitstream.o build.Linux/src/htsp.o build.Linux/src/serviceprobe.o build.Linux/src/htsmsg.o build.Linux/src/htsmsg_binary.o build.Linux/src/htsmsg_json.o build.Linux/src/htsmsg_xml.o build.Linux/src/settings.o build.Linux/src/htsbuf.o build.Linux/src/trap.o build.Linux/src/avg.o build.Linux/src/htsstr.o build.Linux/src/rawtsinput.o build.Linux/src/iptv_input.o build.Linux/src/plumbing/tsfix.o build.Linux/src/plumbing/globalheaders.o build.Linux/src/dvr/dvr_db.o build.Linux/src/dvr/dvr_rec.o build.Linux/src/dvr/dvr_autorec.o build.Linux/src/dvr/ebml.o build.Linux/src/dvr/mkmux.o build.Linux/src/cwc.o build.Linux/src/capmt.o build.Linux/src/ffdecsa/ffdecsa_interface.o build.Linux/src/ffdecsa/ffdecsa_int.o build.Linux/src/webui/webui.o build.Linux/src/webui/comet.o build.Linux/src/webui/extjs.o build.Linux/src/webui/simpleui.o build.Linux/src/webui/statedump.o build.Linux/src/dvb/dvb.o build.Linux/src/dvb/dvb_support.o build.Linux/src/dvb/dvb_fe.o build.Linux/src/dvb/dvb_tables.o build.Linux/src/dvb/diseqc.o build.Linux/src/dvb/dvb_adapter.o build.Linux/src/dvb/dvb_multiplex.o build.Linux/src/dvb/dvb_transport.o build.Linux/src/dvb/dvb_preconf.o build.Linux/src/dvb/dvb_satconf.o build.Linux/src/webui/extjs_dvb.o build.Linux/src/v4l.o build.Linux/src/webui/extjs_v4l.o build.Linux/src/ffdecsa/ffdecsa_mmx.o build.Linux/src/ffdecsa/ffdecsa_sse2.o build.Linux/src/avahi.o build.Linux/bundles/docs/html.o build.Linux/bundles/docs/docresources.o build.Linux/bundles/src/webui/static.o -lrt -ldl -lavahi-common -lavahi-client -lssl -lpthread -lm
/usr/bin/ld: build.Linux/src/cwc.o: undefined reference to symbol 'MD5_Final@OPENSSL_1.0.0'
/usr/bin/ld: note: 'MD5_Final
@OPENSSL_1.0.0' is defined in DSO //usr/lib64/libcrypto.so.1.0.0 so try adding it to the linker command line
//usr/lib64/libcrypto.so.1.0.0: could not read symbols: Invalid operation
collect2: ld returned 1 exit status

Also available in: Atom PDF