Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   64 Studio Developer (http://www.linux-archive.org/64-studio-developer/)
-   -   JACK1 for 3.3alpha - libjack.so.0: cannot open shared object file: No such file or directory (http://www.linux-archive.org/64-studio-developer/384865-jack1-3-3alpha-libjack-so-0-cannot-open-shared-object-file-no-such-file-directory.html)

Ralf Mardorf 06-12-2010 01:51 AM

JACK1 for 3.3alpha - libjack.so.0: cannot open shared object file: No such file or directory
 
Hi all :)



with JACK1 installed I get "libjack.so.0: cannot open shared object file: No such file or directory", when I reinstalled JACK2 I can start and play my test audio session again.



That's too funny, I compiled JACK1 0.118.0 for another Karmic install, but 64 Studio 3.3alpha and didn't get this issue.

Perhaps I made a mistake and I don't see the forest for the trees.



The essential steps I did to build JACK1, you might notice that I skip some unimportant steps, e.g. removing the source code in /usr/src/jack-audio-connection-kit*.



spinymouse@64studio:/usr/src/jack-audio-connection-kit-0.118.0/dummies$ equivs-control jackd

spinymouse@64studio:/usr/src/jack-audio-connection-kit-0.118.0/dummies$ gedit jackd

Edited the file to:



Section: misc

Priority: optional

Standards-Version: 3.6.2

Package: *

Version: 2010.118.0-1dummy~64studio3.3a

Depends: jackd (=2010.118.0-1dummy~64studio3.3a),libjack0 (=2010.118.0-1dummy~64studio3.3a), libjack-dev (=2010.118.0-1dummy~64studio3.3a), libjack0.100.0-dev (=2010.118.0-1dummy~64studio3.3a),jack-audio-connection-kit

Architecture: all

Description: JACK Audio Connection Kit dummy package



Replaced the * by jackd and saved the file as jackd. Repeated this for libjack0, libjack-dev and libjack0.100.0-dev. Then replaced the * by jack-audio-connection-kit and replaced "Version: 2010.118.0-1dummy~64studio3.3a" by "Version: 0.000.0-1dummy~64studio3.3a", didn't change anything for "(=2010.118.0-1dummy~64studio3.3a)".

spinymouse@64studio:/usr/src/jack-audio-connection-kit-0.118.0/dummies$ equivs-build jackd

spinymouse@64studio:/usr/src/jack-audio-connection-kit-0.118.0/dummies$ equivs-build libjack0

spinymouse@64studio:/usr/src/jack-audio-connection-kit-0.118.0/dummies$ equivs-build libjack-dev

spinymouse@64studio:/usr/src/jack-audio-connection-kit-0.118.0/dummies$ equivs-build libjack0.100.0-dev

spinymouse@64studio:/usr/src/jack-audio-connection-kit-0.118.0/dummies$ equivs-build jack-audio-connection-kit

spinymouse@64studio:/usr/src/jack-audio-connection-kit-0.118.0/dummies$ mv *.deb ../

spinymouse@64studio:/usr/src/jack-audio-connection-kit-0.118.0/dummies$ cd ..

spinymouse@64studio:/usr/src/jack-audio-connection-kit-0.118.0$ rm -r dummies

spinymouse@64studio:/usr/src/jack-audio-connection-kit-0.118.0$ su root -c "dpkg --force-depends -i *.deb"

spinymouse@64studio:/usr/src/jack-audio-connection-kit-0.118.0$ su

root@64studio:/usr/src/jack-audio-connection-kit-0.118.0# ./configure

jack-audio-connection-kit 0.118.0 :



| Build with ALSA support............................... : true

| Build with old FireWire (FreeBob) support............. : false

| Build with new FireWire (FFADO) support............... : false

| Build with OSS support................................ : true

| Build with Sun audio support.......................... : false

| Build with CoreAudio support.......................... : false

| Build with PortAudio support.......................... : false

| Build with Celt support............................... : false

| Build with dynamic buffer size support................ : yes

| Compiler optimization flags........................... : -g

| Compiler full flags................................... : -I$(top_srcdir)/config -I$(top_srcdir) -I$(top_srcdir) -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g

| Install dir for libjack + backends.................... : ${exec_prefix}/lib64/jack

|

| Default driver backend................................ : "alsa"

| Shared memory interface............................... : "System V"

| IPC Temporary directory............................... : /dev/shm

| Install prefix........................................ : /usr/local

| Default tmp dir....................................... : /dev/shm



root@64studio:/usr/src/jack-audio-connection-kit-0.118.0# checkinstall

package docs?* [y]: n

0 -* Maintainer: [ root@64studio ]

1 -* Summary: [ JACK Audio Connection Kit ]

2 -* Name:*** [ jack-audio-connection-kit ]

3 -* Version: [ 0.118.0 ]

4 -* Release: [ 1~64studio3.3a ]

5 -* License: [ GPL ]

6 -* Group:** [ checkinstall ]

7 -* Architecture: [ amd64 ]

8 -* Source location: [ jack-audio-connection-kit-0.118.0 ]

9 -* Alternate source location: [* ]

10 - Requires: [ jackd (=2010.118.0-1dummy~64studio3.3a),libjack0 (=2010.118.0-1dummy~64studio3.3a), libjack-dev (=2010.118.0-1dummy~64studio3.3a), libjack0.100.0-dev (=2010.118.0-1dummy~64studio3.3a) ]

11 - Provides: [ jack-audio-connection-kit ]

list them?* [n]: n

exclude them from the package? (Saying yes is a good idea)* [y]: y

root@64studio:/usr/src/jack-audio-connection-kit-0.118.0# exit

spinymouse@64studio:/usr/src/jack-audio-connection-kit-0.118.0$ jackd -V

jackd version 0.118.0 tmpdir /dev/shm protocol 24

spinymouse@64studio:/usr/src/jack-audio-connection-kit-0.118.0$ cd /mnt/music/all-in-one_supplier/a64

spinymouse@64studio:/mnt/music/all-in-one_supplier/a64$ cat start-session

#!/bin/sh

# sh start-session



song_path=`pwd`

song_name="a64"

song_version="06-slide"

song_date="Jun/04/2010"

song_info="


############################


# Project: $song_name


# Version: $song_version


# $song_date Ralf Mardorf


############################
"



if [ $USER = "root" ] ; then

echo "
Only a user is allowed to run this script :)
"

else

echo $song_info



### Killall

apps="qtractor guitarix rakarrack jackd envy24control"

echo "
killall -9 -w $apps"

killall -9 -w $apps



### Restore session

echo "
Restoring session :)"

sample_rate=96000

frames_period=512

echo "
jackd -Rdalsa -dhw:0 -r$sample_rate -p$frames_period -n2"

#envy24control & sleep 2

jackd -Rdalsa -dhw:0 -r$sample_rate -p$frames_period -n2 & sleep 2

#rakarrack & sleep 4

#guitarix & sleep 2

qtractor "$song_path/qtr/$song_name-$song_version.qtr" & sleep 2

echo

fi

exit 0

spinymouse@64studio:/mnt/music/all-in-one_supplier/a64$ ls /usr/src/jack-audio-connection-kit-0.118.0 -hAl

total 288K

-rw-r--r-- 1 spinymouse src 2.2K 2010-06-12 01:59 jack-audio-connection-kit_0.000.0-1dummy~64studio3.3a_all.deb

-rw-r--r-- 1 root****** src 266K 2010-06-12 02:33 jack-audio-connection-kit_0.118.0-1~64studio3.3a_amd64.deb

-rw-r--r-- 1 spinymouse src 2.2K 2010-06-12 01:56 jackd_2010.118.0-1dummy~64studio3.3a_all.deb

-rw-r--r-- 1 spinymouse src 2.2K 2010-06-12 01:58 libjack0.100.0-dev_2010.118.0-1dummy~64studio3.3a_all.deb

-rw-r--r-- 1 spinymouse src 2.2K 2010-06-12 01:57 libjack0_2010.118.0-1dummy~64studio3.3a_all.deb

-rw-r--r-- 1 spinymouse src 2.2K 2010-06-12 01:57 libjack-dev_2010.118.0-1dummy~64studio3.3a_all.deb

spinymouse@64studio:/mnt/music/all-in-one_supplier/a64$ sh start-session

qtractor: error while loading shared libraries: libjack.so.0: cannot open shared object file: No such file or directory



spinymouse@64studio:/mnt/music/all-in-one_supplier/a64$ su root -c ldconfig

spinymouse@64studio:/mnt/music/all-in-one_supplier/a64$ sh start-session

qtractor: error while loading shared libraries: libjack.so.0: cannot open shared object file: No such file or directory

spinymouse@64studio:/mnt/music/all-in-one_supplier/a64$ killall jackd

jack main caught signal 15

spinymouse@64studio:/mnt/music/all-in-one_supplier/a64$ killall jackd

jackd: no process found

spinymouse@64studio:/mnt/music/all-in-one_supplier/a64$ ls /usr/local/lib64/libjack.so* -hAl

lrwxrwxrwx 1 root root* 17 2010-06-12 02:33 /usr/local/lib64/libjack.so -> libjack.so.0.0.28

lrwxrwxrwx 1 root root* 17 2010-06-12 02:33 /usr/local/lib64/libjack.so.0 -> libjack.so.0.0.28

-rwxr-xr-x 1 root root 92K 2010-06-12 02:31 /usr/local/lib64/libjack.so.0.0.28

spinymouse@64studio:/mnt/music/all-in-one_supplier/a64$ jackd -Rdalsa -dhw:0 -r96000 -p512 -n2

jackd 0.118.0

Copyright 2001-2009 Paul Davis, Stephane Letz, Jack O'Quinn, Torben Hohn and others.

jackd comes with ABSOLUTELY NO WARRANTY

This is free software, and you are welcome to redistribute it

under certain conditions; see the file COPYING for details





Memory locking is unlimited - this is dangerous. You should probably alter the line:

**** @audio** -* memlock*** unlimited

in your /etc/limits.conf to read:

**** @audio** -* memlock*** 1543620

JACK compiled with System V SHM support.

loading driver ..

apparent rate = 96000

creating alsa driver ... hw:0|hw:0|512|2|96000|0|0|nomon|swmeter|-|32bit

control device hw:0

configuring for 96000Hz, period = 512 frames (5.3 ms), buffer = 2 periods

ALSA: final selected sample format for capture: 32bit integer little-endian

ALSA: use 2 periods for capture

ALSA: final selected sample format for playback: 32bit integer little-endian

ALSA: use 2 periods for playback



spinymouse@64studio:/mnt/music/all-in-one_supplier/a64$ rakarrack

rakarrack: error while loading shared libraries: libjack.so.0: cannot open shared object file: No such file or directory

spinymouse@64studio:/mnt/music/all-in-one_supplier/a64$ qjackctl

qjackctl: error while loading shared libraries: libjack.so.0: cannot open shared object file: No such file or directory

spinymouse@64studio:/mnt/music/all-in-one_supplier/a64$ jack_capture

jack_capture: error while loading shared libraries: libjack.so.0: cannot open shared object file: No such file or directory

root@64studio:/mnt/music/all-in-one_supplier/a64# apt-get --force-yes install jackd=1.9.4+svn3842-2~karmic1 libjack0=1.9.4+svn3842-2~karmic1

Reading package lists... Done

Building dependency tree******

Reading state information... Done

The following packages were automatically installed and are no longer required:

* libdbus-1-dev

Use 'apt-get autoremove' to remove them.

The following extra packages will be installed:

* jackd jackd-firewire libfreebob0 libjack0

Suggested packages:

* jack-tools libjackasyn0

The following packages will be REMOVED:

* dssi-dev jack-audio-connection-kit libjack-dev libjack0.100.0-dev

The following NEW packages will be installed:

* jackd-firewire libfreebob0

The following packages will be DOWNGRADED:

* jackd libjack0

0 upgraded, 2 newly installed, 2 downgraded, 4 to remove and 1 not upgraded.

Need to get 768kB of archives.

After this operation, 1,196kB of additional disk space will be used.

Do you want to continue [Y/n]?

root@64studio:/mnt/music/all-in-one_supplier/a64# exit

spinymouse@64studio:/mnt/music/all-in-one_supplier/a64$ sh start-session



Cheers!



Ralf


_______________________________________________
64studio-devel mailing list
64studio-devel@lists.64studio.com
http://lists.64studio.com/mailman/listinfo/64studio-devel


All times are GMT. The time now is 01:05 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.