/libexec/ld-elf.so.1: Shared object "libavcodec.so" not found
$ (cd /usr/local/lib; ls -l libavcodec.so*)
lrwxr-xr-x  1 root  wheel  15 Dec 22 00:32 libavcodec.so@ -> libavcodec.so.0
lrwxr-xr-x  1 root  wheel  13 Dec 22 00:32 libavcodec.so.0@ -> libavcodec.so
$ tail -5 /usr/ports/multimedia/ffmpeg/Makefile  | head -3
# add shared lib link
        @${LN} -sf libavcodec.so \
        ${PREFIX}/lib/libavcodec.so.${SHLIB_VERSION}

This inversion symlink problem fixed in ports/56721
(files/patch-libavcodec::Makefile) but this code left unremoved.
This commit is contained in:
FUJISHIMA Satsuki 2003-12-27 23:02:44 +00:00
parent 53f664b8d5
commit 9eb1333270
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=96708
2 changed files with 2 additions and 10 deletions

View file

@ -7,7 +7,7 @@
PORTNAME= ffmpeg
PORTVERSION= 0.4.8
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= multimedia audio net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ffmpeg
@ -265,8 +265,4 @@ post-install:
@${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/lib/${file:T}
.endfor
# add shared lib link
@${LN} -sf libavcodec.so \
${PREFIX}/lib/libavcodec.so.${SHLIB_VERSION}
.include <bsd.port.post.mk>

View file

@ -7,7 +7,7 @@
PORTNAME= ffmpeg
PORTVERSION= 0.4.8
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= multimedia audio net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ffmpeg
@ -265,8 +265,4 @@ post-install:
@${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/lib/${file:T}
.endfor
# add shared lib link
@${LN} -sf libavcodec.so \
${PREFIX}/lib/libavcodec.so.${SHLIB_VERSION}
.include <bsd.port.post.mk>