Page 1 of 2
mscore
Posted: 8. Jan 2013, 12:41
by chakuari
Hello.
I recently upgraded my Salix 13.37 XFCE edition to 14.0, and gradually substituted the programs removed during the operation. I now tried to install mscore, found on Sourcery. It does not compile, and the problem is that I don't know why: when I click the button to see the log file, it's completely blank, so I don't know what have gone wrong.
Any hint?
Antonio
Re: mscore
Posted: 8. Jan 2013, 13:04
by gapan
Seems to compile with no problems here. See that you have cmake and qt installed, as it needs both.
Re: mscore
Posted: 10. Jan 2013, 19:41
by chakuari
Hi, Gapan!
Yes, I have both. Actually I don't know why the log is empty. Before the upgrade I could see all messages, I wonder if something have gone wrong with this upgrade.
I also tried Slacky.eu, but mscore is listed only for 13.37.
Re: mscore
Posted: 10. Jan 2013, 23:41
by laprjns
Try building and installing mscore using the command line equivalent to sourcery, slapt-src. In a terminal as root do:
Code: Select all
root[rich]# slapt-src --install mscore
If it still doesn't build, post the last dozen lines that were outputted to the terminal.
Re: mscore
Posted: 11. Jan 2013, 20:58
by chakuari
Here they are:
Code: Select all
47: warning: 'jack_client_t* jack_client_new(const char*)' is deprecated (declared at /usr/include/jack/jack.h:122) [-Wdeprecated-declarations]
[ 32%] Building CXX object mscore/CMakeFiles/mscore.dir/jackweakapi.cpp.o
Linking CXX executable mscore
/usr/lib/gcc/i486-slackware-linux/4.7.1/../../../../i486-slackware-linux/bin/ld: CMakeFiles/mscore.dir/alsa.cpp.o: undefined reference to symbol 'pthread_join@@GLIBC_2.0'
/usr/lib/gcc/i486-slackware-linux/4.7.1/../../../../i486-slackware-linux/bin/ld: note: 'pthread_join@@GLIBC_2.0' is defined in DSO /lib/libpthread.so.0 so try adding it to the linker command line
/lib/libpthread.so.0: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
make[3]: *** [mscore/mscore] Error 1
make[3]: Leaving directory `/usr/src/slapt-src/multimedia/mscore/mscore-1.2/build'
make[2]: *** [mscore/CMakeFiles/mscore.dir/all] Error 2
make[2]: Leaving directory `/usr/src/slapt-src/multimedia/mscore/mscore-1.2/build'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/slapt-src/multimedia/mscore/mscore-1.2/build'
make: *** [release] Error 2
fakeroot -- sh mscore.SlackBuild Failed
Re: mscore
Posted: 12. Jan 2013, 00:40
by laprjns
It builds on my 14.0 here, but I installed 14.0 from the iso, not upgraded from 13.37. This seems to be the relevant part of output log:
Code: Select all
/usr/lib/gcc/i486-slackware-linux/4.7.1/../../../../i486-slackware-linux/bin/ld: note: 'pthread_join@@GLIBC_2.0' is defined in DSO /lib/libpthread.so.0 so try adding it to the linker command line
/lib/libpthread.so.0: could not read symbols: Invalid operation
There appears to be a problem with linking libpthreads. As I said, I'm not haveing any problems compiling mscore here, so there must be something wrong with your system. Maybe something didn't get installed or upgraded when you upgraded from 13.37 to 14.0.
This in now officially over my head, but until someone who knows what they are doing comes along, lets see if you have libpthread.so installed.
Post the output of ldconfig -p | grep libpthreads. Here's what I get:
Code: Select all
root[rich]# ldconfig -p | grep libpthread.so
libpthread.so.0 (libc6, OS ABI: Linux 2.6.32) => /lib/libpthread.so.0
Re: mscore
Posted: 12. Jan 2013, 08:48
by chakuari
The same output:
Code: Select all
root[antonio]# ldconfig -p | grep libpthread.so
libpthread.so.0 (libc6, OS ABI: Linux 2.6.32) => /lib/libpthread.so.0
I thought it was a problem during the upgrade too. Maybe there have been a change in the compiler and something got messed up?
Re: mscore
Posted: 12. Jan 2013, 12:47
by laprjns
How about the output of ls -l /lib/libpthread*
rich[~]$ ls -l /lib/libpthread*
-rwxr-xr-x 1 root root 120185 Sep 17 16:35 /lib/libpthread-2.15.so
lrwxrwxrwx 1 root root 18 Nov 26 13:20 /lib/libpthread.so.0 -> libpthread-2.15.so
Re: mscore
Posted: 12. Jan 2013, 12:51
by chakuari
This one returns:
Code: Select all
root[antonio]# ls -l /lib/libpthread*
-rwxr-xr-x 1 root root 117363 Aug 30 03:04 /lib/libpthread-2.13.so
-rwxr-xr-x 1 root root 120185 Sep 17 22:35 /lib/libpthread-2.15.so
lrwxrwxrwx 1 root root 18 Dec 30 19:26 /lib/libpthread.so.0 -> libpthread-2.15.so
Re: mscore
Posted: 12. Jan 2013, 12:56
by mimosa
I wonder if the reference in the output a couple of posts back to the 2.6.32 kernel could be relevant? That is the 13.37 kernel - so maye it's an indication of something that didn't get upgraded properly?
EDIT
No obviously not because laprjns has the same output.
