Opened 5 months ago
Closed 5 months ago
#70263 closed defect (fixed)
rtmpdump @2.4-20210219_0+universal: is not universal
Reported by: | ar-an-ribe | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.9.3 |
Keywords: | Cc: | ||
Port: | rtmpdump |
Description
In trying to compile ffmpeg @4.4.4_7+gpl2+librtmp+universal+x11
on Mavericks, the following error is emitted during its configuration step:
:info:configure ERROR: librtmp not found using pkg-config
Note that the rtmpdump @2.4-20210219_0+universal
port was successfully installed before trying to compile the ffmpeg @4.4.4_7+gpl2+librtmp+universal+x11
port.
Attachments (2)
Change History (8)
Changed 5 months ago by ar-an-ribe
comment:1 follow-up: 2 Changed 5 months ago by ryandesign (Ryan Carsten Schmidt)
Please attach the config.log file mentioned in the main.log file.
Changed 5 months ago by ar-an-ribe
Attachment: | config.log added |
---|
config.log for i386 component of ffmpeg @4.4.4_7+gpl2+librtmp+universal+x11
comment:2 Changed 5 months ago by ar-an-ribe
Replying to ryandesign:
Please attach the config.log file mentioned in the main.log file.
Done. It looks like it might be a coding issue in ffmpeg
’s configure script; perhaps
long check_RTMP_Socket(void) { return (long) RTMP_Socket; }
ought to be
long check_RTMP_Socket(void) { return (long) RTMP_Socket((void *) 0); }
(if it doesn’t bring in a definition of NULL
)?
comment:3 follow-up: 4 Changed 5 months ago by ryandesign (Ryan Carsten Schmidt)
The log says:
ld: warning: ignoring file /opt/local/lib/librtmp.dylib, file was built for x86_64 which is not the architecture being linked (i386): /opt/local/lib/librtmp.dylib
So librtmp is not installed universal even though you said the rtmpdump port was installed with the universal variant. Let's confirm that: try running:
lipo -info /opt/local/lib/librtmp.dylib port provides /opt/local/lib/librtmp.dylib port -v installed rtmpdump
comment:4 Changed 5 months ago by ar-an-ribe
Replying to ryandesign:
try running:
lipo -info /opt/local/lib/librtmp.dylib port provides /opt/local/lib/librtmp.dylib port -v installed rtmpdump
They return
Non-fat file: /opt/local/lib/librtmp.dylib is architecture: x86_64 Warning: port definitions are more than two weeks old, consider updating them by running 'port selfupdate'. /opt/local/lib/librtmp.dylib is provided by: rtmpdump Warning: port definitions are more than two weeks old, consider updating them by running 'port selfupdate'. The following ports are currently installed: rtmpdump @2.4-20210219_0+universal (active) requested_variants='+universal' platform='darwin 13' archs='i386 x86_64' date='2022-04-23T13:51:17-0400'
respectively.
comment:5 Changed 5 months ago by ryandesign (Ryan Carsten Schmidt)
Cc: | mascguy dbevans jeremyhu removed |
---|---|
Port: | rtmpdump added; ffmpeg removed |
Summary: | ffmpeg @4.4.4_7+gpl2+librtmp+universal+x11: ERROR: librtmp not found using pkg-config → rtmpdump @2.4-20210219_0+universal: is not universal |
I can confirm this on my system.
comment:6 Changed 5 months ago by ryandesign (Ryan Carsten Schmidt)
Owner: | set to ryandesign |
---|---|
Resolution: | → fixed |
Status: | new → closed |
main.log for ffmpeg @4.4.4_7+gpl2+librtmp+universal+x11