Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Cannot run Bitwig demo, undefined symbol
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
tempuser
n00b
n00b


Joined: 24 Aug 2011
Posts: 61

PostPosted: Wed Aug 06, 2014 4:09 pm    Post subject: Cannot run Bitwig demo, undefined symbol Reply with quote

Hello everyone,

I've been trying to get the Bitwig demo working to test it out. Unfortunately, after solving a few minor problems, I have hit an error I am unable to deal with. Namely "undefined symbol: xcb_shm_attach_checked". Below I have listed the necessary steps to reproduce the problem on my system.

Code:

Script started on Wed 06 Aug 2014 16:39:41 BST

user@HOST:~/tmp/bitwig-demo − Wed 2014-08-06 T16:39:41 +0100
$ ar x bitwig-studio-1.0.11.deb

user@HOST:~/tmp/bitwig-demo − Wed 2014-08-06 T16:39:49 +0100
$ ls
bitwig-studio-1.0.11.deb  control.tar.gz  data.tar.gz debian-binary

user@HOST:~/tmp/bitwig-demo − Wed 2014-08-06 T16:39:51 +0100
$ tar -xzvf data.tar.gz
<Over 1400 lines removed for brevity>

user@HOST:~/tmp/bitwig-demo − Wed 2014-08-06 T16:40:03 +0100
$ opt/bitwig-studio/bitwig-studio
JRE Path: //home/user/tmp/bitwig-demo/opt/bitwig-studio/bin/jre
Aug 06, 2014 4:40:50 PM org.apache.commons.vfs2.VfsLog info
INFO: Using "/tmp/vfs_cache" as temporary files store.
opt/bitwig-studio/bitwig-studio: symbol lookup error: /home/user/tmp/bitwig-demo/opt/bitwig-studio/bin/libx11-windowing-system.so: undefined symbol: xcb_shm_attach_checked

user@HOST:~/tmp/bitwig-demo − Wed 2014-08-06 T16:40:51 +0100
$ sudo opt/bitwig-studio/bitwig-studio
Password:
JRE Path: //home/user/tmp/bitwig-demo/opt/bitwig-studio/bin/jre
Aug 06, 2014 4:41:02 PM org.apache.commons.vfs2.VfsLog info
INFO: Using "/tmp/vfs_cache" as temporary files store.
opt/bitwig-studio/bitwig-studio: symbol lookup error: /home/user/tmp/bitwig-demo/opt/bitwig-studio/bin/libx11-windowing-system.so: undefined symbol: xcb_shm_attach_checked

user@HOST:~/tmp/bitwig-demo − Wed 2014-08-06 T16:41:03 +0100
$ exit

Script done on Wed 06 Aug 2014 16:41:18 BST


I have done some extensive searching online, but I have found very little. Any and all help will be appreciated.
Back to top
View user's profile Send private message
tempuser
n00b
n00b


Joined: 24 Aug 2011
Posts: 61

PostPosted: Fri Aug 15, 2014 7:22 pm    Post subject: Reply with quote

Anyone?
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6196

PostPosted: Fri Aug 15, 2014 10:33 pm    Post subject: Reply with quote

What does 'emerge -1pv x11-libs/libxcb' print ?
Back to top
View user's profile Send private message
tempuser
n00b
n00b


Joined: 24 Aug 2011
Posts: 61

PostPosted: Sat Aug 16, 2014 5:12 pm    Post subject: Reply with quote

Thank you for your reply VoidMage.

Code:

$ emerge -1pv x11-libs/libxcb
 * Last emerge --sync was 32d 2h 32m 40s ago.

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] x11-libs/libxcb-1.10  USE="-doc (-selinux) -static-libs -xkb" ABI_X86="(64) (-32) (-x32)" 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB

 * IMPORTANT: 17 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6196

PostPosted: Sat Aug 16, 2014 5:40 pm    Post subject: Reply with quote

OK, supplemental question: 'ldd -r /home/user/tmp/bitwig-demo/opt/bitwig-studio/bin/libx11-windowing-system.so'.
Back to top
View user's profile Send private message
tempuser
n00b
n00b


Joined: 24 Aug 2011
Posts: 61

PostPosted: Sun Aug 17, 2014 10:07 am    Post subject: Reply with quote

Code:

$ ldd -r /home/user/tmp/bitwig-demo/opt/bitwig-studio/bin/libx11-windowing-system.so
   linux-vdso.so.1 (0x00007fff1973d000)
   libcairo.so.2 => /usr/lib64/libcairo.so.2 (0x00007fa32927c000)
   libxcb-icccm.so.4 => /usr/lib64/libxcb-icccm.so.4 (0x00007fa329076000)
   libxcb.so.1 => /usr/lib64/libxcb.so.1 (0x00007fa328e53000)
   libX11-xcb.so.1 => /usr/lib64/libX11-xcb.so.1 (0x00007fa328c51000)
   libxkbfile.so.1 => /usr/lib64/libxkbfile.so.1 (0x00007fa328a2c000)
   libXcursor.so.1 => /usr/lib64/libXcursor.so.1 (0x00007fa328820000)
   libxcb-randr.so.0 => /usr/lib64/libxcb-randr.so.0 (0x00007fa328611000)
   libstdc++.so.6 => /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/libstdc++.so.6 (0x00007fa328309000)
   libc.so.6 => /lib64/libc.so.6 (0x00007fa327f5e000)
   libgcc_s.so.1 => /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/libgcc_s.so.1 (0x00007fa327d48000)
   libpixman-1.so.0 => /usr/lib64/libpixman-1.so.0 (0x00007fa327abf000)
   libfontconfig.so.1 => /usr/lib64/libfontconfig.so.1 (0x00007fa327882000)
   libfreetype.so.6 => /usr/lib64/libfreetype.so.6 (0x00007fa3275e3000)
   libEGL.so.1 => /usr/lib64/libEGL.so.1 (0x00007fa3273c5000)
   libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fa3271a7000)
   libdl.so.2 => /lib64/libdl.so.2 (0x00007fa326fa3000)
   libpng16.so.16 => /usr/lib64/libpng16.so.16 (0x00007fa326d6e000)
   libXrender.so.1 => /usr/lib64/libXrender.so.1 (0x00007fa326b63000)
   libX11.so.6 => /usr/lib64/libX11.so.6 (0x00007fa326827000)
   libXext.so.6 => /usr/lib64/libXext.so.6 (0x00007fa326615000)
   libz.so.1 => /lib64/libz.so.1 (0x00007fa3263fe000)
   libGL.so.1 => /usr/lib64/libGL.so.1 (0x00007fa32619c000)
   librt.so.1 => /lib64/librt.so.1 (0x00007fa325f94000)
   libm.so.6 => /lib64/libm.so.6 (0x00007fa325c9d000)
   libXau.so.6 => /usr/lib64/libXau.so.6 (0x00007fa325a99000)
   libXdmcp.so.6 => /usr/lib64/libXdmcp.so.6 (0x00007fa325893000)
   libXfixes.so.3 => /usr/lib64/libXfixes.so.3 (0x00007fa32568c000)
   /lib64/ld-linux-x86-64.so.2 (0x00007fa32985a000)
   libexpat.so.1 => /usr/lib64/libexpat.so.1 (0x00007fa325461000)
   libbz2.so.1 => /lib64/libbz2.so.1 (0x00007fa325250000)
   libxcb-dri2.so.0 => /usr/lib64/libxcb-dri2.so.0 (0x00007fa32504b000)
   libxcb-xfixes.so.0 => /usr/lib64/libxcb-xfixes.so.0 (0x00007fa324e43000)
   libudev.so.1 => /lib64/libudev.so.1 (0x00007fa324c2f000)
   libdrm.so.2 => /usr/lib64/libdrm.so.2 (0x00007fa324a23000)
   libglapi.so.0 => /usr/lib64/libglapi.so.0 (0x00007fa3247fb000)
   libXdamage.so.1 => /usr/lib64/libXdamage.so.1 (0x00007fa3245f8000)
   libxcb-glx.so.0 => /usr/lib64/libxcb-glx.so.0 (0x00007fa3243de000)
   libXxf86vm.so.1 => /usr/lib64/libXxf86vm.so.1 (0x00007fa3241d7000)
undefined symbol: xcb_shm_detach   (/home/user/tmp/bitwig-demo/opt/bitwig-studio/bin/libx11-windowing-system.so)
undefined symbol: cairo_xcb_surface_set_size   (/home/user/tmp/bitwig-demo/opt/bitwig-studio/bin/libx11-windowing-system.so)
undefined symbol: cairo_xcb_surface_create   (/home/user/tmp/bitwig-demo/opt/bitwig-studio/bin/libx11-windowing-system.so)
undefined symbol: xcb_shm_attach_checked   (/home/user/tmp/bitwig-demo/opt/bitwig-studio/bin/libx11-windowing-system.so)
undefined symbol: xcb_shm_put_image   (/home/user/tmp/bitwig-demo/opt/bitwig-studio/bin/libx11-windowing-system.so)
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54220
Location: 56N 3W

PostPosted: Sun Aug 17, 2014 12:21 pm    Post subject: Reply with quote

tempuser,

Hmm x11-libs/cairo has xcb and xlib-xcb USE flags

Code:
[ebuild   R    ] x11-libs/cairo-1.12.16-r3  USE="X glib opengl svg (-aqua) -debug -directfb (-drm) (-gallium) (-gles2) -legacy-drivers -lto -openvg (-qt4) -static-libs -valgrind -xcb -xlib-xcb"

Maybe you need to rebuild cairo with one or both of these turned on.
It looks like that would fix at least some of your missing symbols.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6196

PostPosted: Sun Aug 17, 2014 2:03 pm    Post subject: Reply with quote

'xlib-xcb' might not be a good idea - in my personal experience it's subtly broken in some cases.
Though libx11-windowing-system.so seems broken - it should link to libxcb-shm.
Back to top
View user's profile Send private message
EmaRsk
Apprentice
Apprentice


Joined: 07 Sep 2004
Posts: 158
Location: Italy

PostPosted: Sat Mar 28, 2015 2:03 pm    Post subject: Reply with quote

I had the same problem, remerged x11-libs/cairo with USE=xcb and now the bitwig-studio demo seem to work.

It would be nice if tempuser would mark the this thread as SOLVED. Unless it isn't, in that case it would be nice to hear some updates from him/her.

BTW, somebody did an ebuild: https://github.com/dstien/dstien-portage
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum