The officially official Devuan Forum!

You are not logged in.

#1 2018-06-03 14:29:08

ks
Member
Registered: 2018-05-08
Posts: 25  

GCC multilib installation bug?

I have an application that's been developed when 64bit processors were unknown. Although in theory it should work as a 64bit app I rather not spend the time doing regression tests, so I drag it from system to system compiling it as a 32bit app.

After setting up and installing the multilib environment according to debian howtos (dpkg --add-architecture i386, apt-get install gcc-multilib) I get link errors for libraries that reside in in /usr/lib/i386-linux-gnu due to missing symlinks (libs in /lib/i386-linux-gnu are fine).

To use libpng and libfreetype after installing both I had to manually create the links marked "Fixed" below.

Fixed   lrwxrwxrwx 1 root root       21 May  5 09:12 libfreetype.so -> libfreetype.so.6.12.3
        lrwxrwxrwx 1 root root       21 Apr 27  2017 libfreetype.so.6 -> libfreetype.so.6.12.3
        -rw-r--r-- 1 root root   731472 Apr 27  2017 libfreetype.so.6.12.3
Fixed   lrwxrwxrwx 1 root root       11 May  5 09:11 libpng.so -> libpng16.so
Fixed   lrwxrwxrwx 1 root root       19 May  5 09:10 libpng16.so -> libpng16.so.16.28.0
        lrwxrwxrwx 1 root root       19 Jan  9  2017 libpng16.so.16 -> libpng16.so.16.28.0
        -rw-r--r-- 1 root root   230708 Jan  9  2017 libpng16.so.16.28.0

Apart from that I'm immensely pleased with the way devuan comes along.

Offline

Board footer