Gentoo Archives: gentoo-user

From: Meino.Cramer@×××.de
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] libpcre && blender: Confusion?
Date: Sun, 06 Dec 2015 07:57:40
Message-Id: 20151206075726.GA4765@solfire
In Reply to: Re: [gentoo-user] libpcre && blender: Confusion? by Alan McKinnon
1 Alan McKinnon <alan.mckinnon@×××××.com> [15-12-06 08:24]:
2 > On 06/12/2015 05:47, Meino.Cramer@×××.de wrote:
3 > > Hi,
4 > >
5 > > from builder.blender.org I regularily download the daily developers
6 > > build of blender.
7 > >
8 > > In the last few days the developers seem to include code to access
9 > > libpcre into blender -- which will not be found on my system.
10 > >
11 > > eix says:
12 > > #>eix libpcre
13 > > [I] dev-libs/libpcre
14 > > Available versions: (3) 7.9-r1 8.35 8.36 ~8.37-r2 8.38
15 > > {bzip2 +cxx doc +jit libedit pcre16 pcre32 +readline +recursion-limit static-libs unicode zlib ABI_MIPS="n32 n64 o32" ABI_PPC="32 64" ABI_S390="32 64" ABI_X86="32 64 x32"}
16 > > Installed versions: 8.38(3)(17:22:37 11/26/15)(bzip2 cxx jit pcre16 readline recursion-limit unicode zlib -libedit -pcre32 -static-libs ABI_MIPS="-n32 -n64 -o32" ABI_PPC="-32 -64" ABI_S390="-32 -64" ABI_X86="64 -32 -x32")
17 > > Homepage: http://www.pcre.org/
18 > > Description: Perl-compatible regular expression library
19 > >
20 > > For me it reads as if libpcre-8.38 is included, which is version "3"
21 > > (due to the litlle "(3)").
22 > >
23 > > ldd blender says:
24 > > #>ldd blender
25 > > linux-vdso.so.1 (0x00007f58c1f2f000)
26 > > librt.so.1 => /lib64/librt.so.1 (0x00007f58c1b08000)
27 > > libfreetype.so.6 => /usr/lib64/libfreetype.so.6 (0x00007f58c185d000)
28 > > libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f58c1641000)
29 > > libpcre.so.3 => not found
30 > > libxml2.so.2 => /usr/lib64/libxml2.so.2 (0x00007f58c12d6000)
31 > > libGLU.so.1 => /usr/lib64/libGLU.so.1 (0x00007f58c1053000)
32 > > libGL.so.1 => /usr/lib64/opengl/nvidia/lib/libGL.so.1 (0x00007f58c0d1f000)
33 > > libX11.so.6 => /usr/lib64/libX11.so.6 (0x00007f58c09d8000)
34 > > libXi.so.6 => /usr/lib64/libXi.so.6 (0x00007f58c07c7000)
35 > > libXxf86vm.so.1 => /usr/lib64/libXxf86vm.so.1 (0x00007f58c05c1000)
36 > > libutil.so.1 => /lib64/libutil.so.1 (0x00007f58c03be000)
37 > > libdl.so.2 => /lib64/libdl.so.2 (0x00007f58c01ba000)
38 > > libc.so.6 => /lib64/libc.so.6 (0x00007f58bfe1b000)
39 > > /lib64/ld-linux-x86-64.so.2 (0x00007f58c1d10000)
40 > > libm.so.6 => /lib64/libm.so.6 (0x00007f58bfb17000)
41 > > libstdc++.so.6 => /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/libstdc++.so.6 (0x00007f58bf803000)
42 > > libgcc_s.so.1 => /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/libgcc_s.so.1 (0x00007f58bf5ec000)
43 > > libz.so.1 => /lib64/libz.so.1 (0x00007f58bf3d6000)
44 > > libbz2.so.1 => /lib64/libbz2.so.1 (0x00007f58bf1c6000)
45 > > libpng16.so.16 => /usr/lib64/libpng16.so.16 (0x00007f58bef90000)
46 > > libnvidia-tls.so.358.16 => /usr/lib64/libnvidia-tls.so.358.16 (0x00007f58bed8c000)
47 > > libnvidia-glcore.so.358.16 => /usr/lib64/libnvidia-glcore.so.358.16 (0x00007f58bd12b000)
48 > > libXext.so.6 => /usr/lib64/libXext.so.6 (0x00007f58bcf18000)
49 > > libxcb.so.1 => /usr/lib64/libxcb.so.1 (0x00007f58bccf4000)
50 > > libXau.so.6 => /usr/lib64/libXau.so.6 (0x00007f58bcaf0000)
51 > > libXdmcp.so.6 => /usr/lib64/libXdmcp.so.6 (0x00007f58bc8ea000)
52 > >
53 > >
54 > > Before I screw up the library pool with a quick and dirty symlink
55 > > based on my assumption above...I better ask... :)
56 > >
57 > > What exactly is libpcre.so.3 or for what stands it for?
58 > > Is the installed libpcre the one which is needed?
59 > > How can I fix it?
60 >
61 > libpcre provides a regex library for apps to use. The version you have
62 > will probably not work, as it is .so version 1 and blender wants version
63 > 3. So a symlink is not the correct way to go.
64 >
65 > You are using the daily dev build so most likely those devs aren't using
66 > Gentoo and do have libpcre.so.3 from somewhere.
67 >
68 > How critical is this error anyway? I can't imagine it would stop blender
69 > from working entirely. Do you download a source or a binary daily build?
70 >
71 > Some things to try:
72 >
73 > - symlink it anyway and see if the regex functions in blender now work
74 > - if blender is a binary download, search it's files for libpcre.so*
75 > Maybe it's there and you just need to tweak LDPATH
76 >
77 > --
78 > Alan McKinnon
79 > alan.mckinnon@×××××.com
80 >
81 >
82
83 The blender download is a binary blob. For a longer time I used to
84 build blender myself from a daily snapshot of the repository, but
85 this became more and more complicate and finally I gave up.
86 I started to download the binaries directly from the build bot
87 builder.blender.org.
88 This works - until now.
89 The error stops the start of blender.
90 ldd gives "libprce.so.3 not found" (see above) indicating, that
91 blender won't start at all.
92 The binary blob does not contain any libpcre -- I checked that
93 before.
94
95 Well, I think I have to open a bugreport for Ton...
96
97 Anyway: Thanks for your help, Alan!
98 Best regards
99 Meino

Replies

Subject Author
Re: [gentoo-user] libpcre && blender: Confusion? wabenbau@×××××.com
Re: [gentoo-user] libpcre && blender: Confusion? Daniel Frey <djqfrey@×××××.com>