[FFmpeg-user] cannot build shared libraries on Solaris
Eric Thomas
eric21797 at gmail.com
Mon Dec 24 15:20:59 EET 2018
Carl,
Removing the stdatomic.o file, and building with 'gmake' did the trick for
me. I
have a set of shared libraries. Thanks for that info!
Next question: On my Centos VM, my shared library files have the library
version as the filename suffix.
For example, "*libavcodec.so.58*".
On my Solaris machine, the library filenames do not have the version
suffix. For example, "*libavcodec.so.*"
Should the Solaris libraries have the version suffix? What edits can I make
to get the version suffix?
Thanks!
Eric
On Fri, Dec 21, 2018 at 6:09 PM Carl Eugen Hoyos <ceffmpeg at gmail.com> wrote:
> 2018-12-20 15:24 GMT+01:00, Eric Thomas <eric21797 at gmail.com>:
>
> > My system administrator downloaded the FFmpeg 4.1
> > source code this week,
>
> Sorry for being so nosy:
> Does the following command not work for you?
> $ curl -O http://ffmpeg.org/releases/ffmpeg-snapshot.tar.bz2
> $ tar xf ffmpeg-snapshot.tar.bz2
>
> (Above is a quick alternative to the more common
> "git clone https://git.ffmpeg.org/ffmpeg.git")
>
> I tested on sunos 5.11 with (default?) gcc 5.5 both
> with your configure line and fate (our testing suite)
> passes without issues.
>
> --enable-shared --enable-gpl has an unrelated issue
> here on Solaris, I'll send a patch to fix / workaround
> this problem. (Sun ld doesn't understand -rpath-link
> and searches "libpostproc.so" in "-link=libpostproc"
> instead of "libpostproc".)
>
> [...]
>
> > Text relocation remains referenced
> >
> > against symbol offset in file
> >
> > .data (section) 0x0
> > libavutil/../compat/atomics/pthread/stdatomic.o
>
> Did you try the following?
> $ rm compat/atomics/pthread/stdatomic.o && gmake ffmpeg
>
> Carl Eugen
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
More information about the ffmpeg-user
mailing list