ports/183061: rtmpdump complains due libcrypto.so.8

Carlos Jacobo Puga Medina cjpugmed at gmail.com
Thu Oct 17 14:50:00 UTC 2013


>Number:         183061
>Category:       ports
>Synopsis:       rtmpdump complains due libcrypto.so.8
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Oct 17 14:50:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Carlos Jacobo Puga Medina
>Release:        FreeBSD 9.2-RELEASE
>Organization:
>Environment:
FreeBSD freebsd 9.2-RELEASE FreeBSD 9.2-RELEASE #0 r255898: Fri Sep 27 03:52:52 UTC 2013     root at bake.isc.freebsd.org:/usr/obj/usr/src/sys/GENERIC  i386

>Description:
I tried to update "rtmpdump" to latest version and it fails to compile fine. Seems that the problem is related to "openssl" port due to multiples undefined references coming from rtmpsrv.c

Here is the build output:

# make
===>  License GPLv2 accepted by the user
===>  Found saved configuration for rtmpdump-2.4.20130923
===> Fetching all distfiles required by rtmpdump-2.4.20130923 for building
===>  Extracting for rtmpdump-2.4.20130923
=> SHA256 Checksum OK for rtmpdump-2.4.20130923.tar.gz.
===>  Patching for rtmpdump-2.4.20130923
===>  Applying FreeBSD patches for rtmpdump-2.4.20130923
===>   rtmpdump-2.4.20130923 depends on file: /usr/local/lib/libcrypto.so.8 - found
===>   rtmpdump-2.4.20130923 depends on executable: pkgconf - found
===>  Configuring for rtmpdump-2.4.20130923
===>  Building for rtmpdump-2.4.20130923
cc -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_OPENSSL  -O2 -fPIC -c rtmp.c
cc -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_OPENSSL  -O2 -fPIC -c log.c
cc -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_OPENSSL  -O2 -fPIC -c amf.c
In file included from amf.c:33:
bytes.h:74:2: warning: #warning "Float word order not defined, assuming the same as byte order!"
cc -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_OPENSSL  -O2 -fPIC -c hashswf.c
cc -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_OPENSSL  -O2 -fPIC -c parseurl.c
ar rs librtmp.a rtmp.o log.o amf.o hashswf.o parseurl.o
ar: warning: creating librtmp.a
cc -shared -Wl,-soname,librtmp.so.0  -o librtmp.so.0  rtmp.o log.o amf.o hashswf.o parseurl.o -L/usr/local/lib -lssl -lcrypto -lz 
ln -sf librtmp.so.0 librtmp.so
cc -O2 -pipe  -I/usr/local/include -fno-strict-aliasing  -DRTMPDUMP_VERSION=\"v2.4\"   -c rtmpdump.c
cc -O2 -pipe  -I/usr/local/include -fno-strict-aliasing  -DRTMPDUMP_VERSION=\"v2.4\"   -c rtmpgw.c
cc -O2 -pipe  -I/usr/local/include -fno-strict-aliasing  -DRTMPDUMP_VERSION=\"v2.4\"   -c thread.c
cc -O2 -pipe  -I/usr/local/include -fno-strict-aliasing  -DRTMPDUMP_VERSION=\"v2.4\"   -c rtmpsrv.c
cc -O2 -pipe  -I/usr/local/include -fno-strict-aliasing  -DRTMPDUMP_VERSION=\"v2.4\"   -c rtmpsuck.c
cc  -Wl,-rpath=/usr/local/lib -L/usr/local/lib -o rtmpdump rtmpdump.o -Llibrtmp -lrtmp -lssl -lcrypto -lz  
cc  -Wl,-rpath=/usr/local/lib -L/usr/local/lib -o rtmpgw rtmpgw.o thread.o -pthread -Llibrtmp -lrtmp -lssl -lcrypto -lz  
cc  -Wl,-rpath=/usr/local/lib -L/usr/local/lib -o rtmpsrv rtmpsrv.o thread.o -pthread -Llibrtmp -lrtmp -lssl -lcrypto -lz  
rtmpsrv.o: In function `main':
rtmpsrv.c:(.text+0x538): undefined reference to `RTMP_TLS_AllocServerContext'
rtmpsrv.c:(.text+0x64b): undefined reference to `RTMP_TLS_FreeServerContext'
rtmpsrv.o: In function `doServe':
rtmpsrv.c:(.text+0x1dfc): undefined reference to `RTMP_TLS_Accept'
*** [rtmpsrv] Error code 1
1 error
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** [do-build] Error code 1

Stop in /usr/ports/multimedia/rtmpdump.
*** [build] Error code 1

Stop in /usr/ports/multimedia/rtmpdump.
 
Rebuild using "MAKE_JOBS_UNSAFE=yes" doesn't solve the problem.

A plus is that it builds/installs correctly without security/openssl  which currently is a needed dependency.
>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-ports-bugs mailing list