Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#34214 - [wings3d] doesn't start, complains about missing libncurses.so.5

Attached to Project: Community Packages
Opened by ab (noooway) - Friday, 08 March 2013, 10:08 GMT
Last edited by Alexander F. Rødseth (xyproto) - Friday, 15 March 2013, 20:55 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Alexander F. Rødseth (xyproto)
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Wings3d doesn't start and produces the following error message:

/opt/wings3d-1.4.1/bin/beam: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory

Ncurses is present in the system:

ls -l /usr/lib/libncu*
lrwxrwxrwx 1 root root 13 Feb 3 09:29 /usr/lib/libncurses.a -> libncursesw.a
lrwxrwxrwx 1 root root 15 Feb 3 09:29 /usr/lib/libncurses++.a -> libncurses++w.a
-rw-r--r-- 1 root root 18 Feb 3 09:29 /usr/lib/libncurses.so
lrwxrwxrwx 1 root root 17 Feb 3 09:29 /usr/lib/libncurses.so.5 -> libncurses.so.5.9
-rwxr-xr-x 1 root root 337536 Feb 3 09:29 /usr/lib/libncurses.so.5.9
-rw-r--r-- 1 root root 167518 Feb 3 09:29 /usr/lib/libncurses++w.a
-rw-r--r-- 1 root root 759356 Feb 3 09:29 /usr/lib/libncursesw.a
lrwxrwxrwx 1 root root 16 Feb 3 09:29 /usr/lib/libncursesw.so -> libncursesw.so.5
lrwxrwxrwx 1 root root 18 Feb 3 09:29 /usr/lib/libncursesw.so.5 -> libncursesw.so.5.9
-rwxr-xr-x 1 root root 387040 Feb 3 09:29 /usr/lib/libncursesw.so.5.9

Additional info:
* package version(s):
erlang-R16B-1
erlang-cl-1.0-3
erlang-sdl-1.2-7
libcl-1.1-3
wxgtk-2.8.12.1-4
wings3d-1.4.1-15
desktop-file-utils 0.21-1
ncurses 5.9-4
* config and/or log files etc.

Steps to reproduce:
This task depends upon

Closed by  Alexander F. Rødseth (xyproto)
Friday, 15 March 2013, 20:55 GMT
Reason for closing:  Fixed
Additional comments about closing:  Works now.
Comment by Alexander F. Rødseth (xyproto) - Friday, 08 March 2013, 19:39 GMT
Thanks for reporting.

I'm unable to reproduce. x86_64 here too. I also have the same libncurses files, but I doubt they are used as the binary release of wings comes with its own libraries.

The non-binary release (including various github branches) of Wings doesn't compile or run on Arch. This has been reported upstream.

Do you have the occasion to test it on another installation of Arch?
Comment by ab (noooway) - Saturday, 09 March 2013, 08:18 GMT
After I have installed lib32-ncurses from multilib I got the following:

[noway@arch]# wings3d
ERROR: ld.so: object '/opt/wings3d-1.4.1/lib/esdl-1.0.1/priv/libSDL-1.2.so.0' from LD_PRELOAD cannot be preloaded: ignored.
Driver failed: libGL.so.1: cannot open shared object file: No such file or directory
ERROR: ld.so: object '/opt/wings3d-1.4.1/lib/esdl-1.0.1/priv/libSDL-1.2.so.0' from LD_PRELOAD cannot be preloaded: ignored.

=ERROR REPORT==== 9-Mar-2013::11:05:49 ===
Error in process <0.30.0> with exit value: {badarg,[{erlang,port_control,[esdl_port,21,<<4 bytes>>]},{sdl,init,1},{wings_init,init,0},{wings,init,1}]}

sh: line 0: exec: sdl_driver: not found


Fatal internal error - log written to /home/noway/wings_crash.dump

Here is wings_crash.dump:

[noway@arch]$ cat wings_crash.dump
Dump written 2013-3-9_11-7
Version: 1.4.1
Window: "<Unknown Window Name>"
Reason: {badarg,[{erlang,port_control,[esdl_port,21,<<32,0,16,0>>]},
{sdl,init,1},
{wings_init,init,0},
{wings,init,1}]}


Installation of lib32-mesa-libgl and lib32-sdl have brought me slightly further (note missing libGL changed to libGLU):

[noway@arch]# wings3d
ERROR: ld.so: object '/opt/wings3d-1.4.1/lib/esdl-1.0.1/priv/libSDL-1.2.so.0' from LD_PRELOAD cannot be preloaded: ignored.
Driver failed: libGLU.so.1: cannot open shared object file: No such file or directory
ERROR: ld.so: object '/opt/wings3d-1.4.1/lib/esdl-1.0.1/priv/libSDL-1.2.so.0' from LD_PRELOAD cannot be preloaded: ignored.

=ERROR REPORT==== 9-Mar-2013::11:59:04 ===
Error in process <0.30.0> with exit value: {badarg,[{erlang,port_control,[esdl_port,21,<<4 bytes>>]},{sdl,init,1},{wings_init,init,0},{wings,init,1}]}

sh: line 0: exec: sdl_driver: not found


Fatal internal error - log written to /home/noway/wings_crash.dump


Finally, after installation of lib32-glu I've got a black screen
and was forced to kill the X server to recieve back controls.
All of this, I believe, indicates that x86_64 version of was compiled against 32 bit libraries.








Comment by Alexander F. Rødseth (xyproto) - Saturday, 09 March 2013, 13:27 GMT
Wings 3D only has one binary release. I'll look into adding the correct dependencies. This is _not_ a great solution, but as long as Wings 3D does not compile on Arch Linux, I hope it's seen as a better alternative than moving it to AUR.
Comment by Alexander F. Rødseth (xyproto) - Sunday, 10 March 2013, 23:37 GMT
Added lib32-libgl, lib32-glu, lib32-sdl and lib32-ncurses as dependencies to the x86_64 version. Does it work on your system now?
Comment by ab (noooway) - Friday, 15 March 2013, 18:24 GMT
Yes, now it works. Thank you.
Had to install 32bit drivers though.

Sorry for late reply.
Comment by Alexander F. Rødseth (xyproto) - Friday, 15 March 2013, 20:55 GMT
Great, thanks for testing it again.

Loading...