Gentoo Archives: gentoo-user

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