[x265] SONAME and shared lib install

Steve Borho steve at borho.org
Tue Feb 11 18:16:16 CET 2014


On Tue, Feb 11, 2014 at 11:05 AM, Steve Borho <steve at borho.org> wrote:

>
>
>
> On Tue, Feb 11, 2014 at 7:05 AM, Derek Buitenhuis <
> derek.buitenhuis at gmail.com> wrote:
>
>> Only sending this to here because it's very hard to catch Steve on IRC,
>> since I'm in GMT.
>>
>> In the process of hooking up x265 to Libav/FFmpeg, I've noticed a number
>> of deficiencies in x265's cmake stuff:
>>
>
> Ok, I'm looking into this all now.  I assume you're speaking about a Linux
> target and the shared lib hasn't been disabled in cmake.
>
>
>> 1) Shared library is never install.
>> 2) No pkg-config file is generated or installed, despite
>>    x265.pc.in existing.
>> 3) No SONAME on the shared library.
>>
>
> These were all working at some point, testing now on my Ubuntu machine
>

When I run `make install` on Ubuntu I see:

Install the project...
-- Install configuration: "Release"
-- Installing: /usr/local/lib/libx265.a
-- Installing: /usr/local/include/x265.h
-- Installing: /usr/local/include/x265_config.h
-- Installing: /usr/local/lib/libx265.so.0.7
-- Installing: /usr/local/lib/libx265.so.5
-- Installing: /usr/local/lib/libx265.so
-- Installing: /usr/local/lib/pkgconfig/x265.pc
-- Installing: /usr/local/bin/x265

> cat /usr/local/lib/pkgconfig/x265.pc
prefix=/usr/local
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include

Name: x265
Description: H.265/HEVC video encoder
Version: 0.7
Libs: -L${libdir} -lx265
Libs.private:  -lstdc++ -lm -lc -lpthread -lrt
Cflags: -I${includedir}


> ls -l lib
total 9096
-rw-r--r-- 1 root root  5383828 Feb 11 11:05 libx265.a
lrwxrwxrwx 1 root root       12 Feb 11 11:05 libx265.so -> libx265.so.5
-rw-r--r-- 1 root root  3910496 Feb 11 11:05 libx265.so.0.7
lrwxrwxrwx 1 root root       14 Feb 11 11:05 libx265.so.5 -> libx265.so.0.7


Am I missing something?

-- 
Steve Borho
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/x265-devel/attachments/20140211/ce82666e/attachment.html>


More information about the x265-devel mailing list