[FFmpeg-user] ffmpeg built static, yet "libopenjp2.so.7: cannot open shared object file"
tlum
ffmpeg-archive.org at tedlum.com
Sun Aug 13 16:19:50 EEST 2017
On 8/13/2017 6:58 AM, Reindl Harald [via FFmpeg-users] wrote:
>
>
> Am 13.08.2017 um 02:59 schrieb tlum:
>
> > On 8/12/2017 8:28 PM, Reindl Harald [via FFmpeg-users] wrote:
> >>
> >> Am 13.08.2017 um 02:23 schrieb Ted Lum:
> >>> I'm sure there is only one copy of all the executables. They are
> >>> actually deployed to /root/bin so they're kept highly isolated
> from the
> >>> rest of the system.
> >>>
> >>> So, we have:
> >>>
> >>> [root at san1srvp01 ~]# which ffmpeg
> >>> /root/bin/ffmpeg
> >>
> >> jesus christ don't run *especially* codec software as root - that's
> what
> >> /usr/local is for - let me guess - you fire also "make" as root?
> >>
> >> and since making /root readable for others is also a terrible idea
> >> there's no business for /root/bin at all
> >
> > It's a build VM. I spin them up from and image, do what I've got to do,
> > and then generally destroy them
>
> that don't justify root as nothing justify root for non administrative
> commands, frankly some software out there even refuses ./configure as
> root for that reason
>
> > It's also generally a terrible idea to
> > install compilers and development libraries on production systems,
> hence
> > the build environment.
>
> yes, hence a proper build system is using something like "rpmbuild"
> which always starts in a clean buildroot adn even don't need root
> permission for "make install"
>
> > Production deployment is a lot more controlled and standardized as you
> > might expect
> i strongly doubt that starting with that the environments are completly
> different and the lack of a proper buildsystem is the root cause of the
> thread topic "libopenjp2.so.7: cannot open shared object file"
>
> rpmbuild would have generated proper dependencies to begin with
Lets try and keep this topic on the topic of linking the static
libopenjp2.a and away from religious dogma please.
Correct me if I'm mistaken, but AFAIK, ffmpeg does not maintain an
srpm?. In any event, that would be tricky to do for static builds, given
the licensing. So that leaves us with guides like this one
https://trac.ffmpeg.org/wiki/CompilationGuide/Centos .
Your constructive feedback is appreciated.
>
> [harry at srv-rhsoft:~]$ rpm -q ffmpeg-latest
> ffmpeg-latest-3.3.3-1.fc25.20170730.rh.x86_64
> _______________________________________________
> ffmpeg-user mailing list
> [hidden email] </user/SendEmail.jtp?type=node&node=4680909&i=0>
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> [hidden email] </user/SendEmail.jtp?type=node&node=4680909&i=1> with
> subject "unsubscribe".
>
> ------------------------------------------------------------------------
> If you reply to this email, your message will be added to the
> discussion below:
> http://www.ffmpeg-archive.org/ffmpeg-built-static-yet-libopenjp2-so-7-cannot-open-shared-object-file-tp4680895p4680909.html
>
> To unsubscribe from ffmpeg built static, yet "libopenjp2.so.7: cannot
> open shared object file", click here
> <http://www.ffmpeg-archive.org/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4680895&code=ZmZtcGVnLWFyY2hpdmUub3JnQHRlZGx1bS5jb218NDY4MDg5NXwxMjA0MDgxNTQ0>.
> NAML
> <http://www.ffmpeg-archive.org/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>
>
> --
> This message has been scanned for viruses and
> dangerous content by *MailScanner* <http://www.mailscanner.info/>, and is
> believed to be clean.
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
--
View this message in context: http://www.ffmpeg-archive.org/ffmpeg-built-static-yet-libopenjp2-so-7-cannot-open-shared-object-file-tp4680895p4680910.html
Sent from the FFmpeg-users mailing list archive at Nabble.com.
More information about the ffmpeg-user
mailing list