Discussion:
[LAU] Installation issues with zita on Ubuntu 14.0
Benny Alexandar
2018-06-16 05:45:12 UTC
Permalink
Hi All,

I had faced some issues with zita installation.
While installing zita-a2j/j2a by default it installed under /usr/local/lib64 folder.
I need to export this path.

While running zita-a2j it throwed an error saying couldn't find libzita-resampler.so.1
and when checked it is named as "libzita-resampler.so.1.6.0"
I need to create a soft link to this lib as "libzita-resampler.so.1"

Is this thr right way to install zita or an I missing something.

-ben
Ralf Mardorf
2018-06-16 06:53:59 UTC
Permalink
Post by Benny Alexandar
I had faced some issues with zita installation.
Zita what?

Seemingly you are talking about zita-ajbridge and zita-resampler.
Post by Benny Alexandar
While installing zita-a2j/j2a by default it installed
under /usr/local/lib64 folder. I need to export this path.
Strange, it should be a path to bin, not to lib.
Post by Benny Alexandar
While running zita-a2j it throwed an error saying couldn't find
libzita-resampler.so.1 and when checked it is named as
"libzita-resampler.so.1.6.0" I need to create a soft link to this lib
as "libzita-resampler.so.1"
There should be no need to create a link. Indeed, the right path here
is lib. There already should be the needed links in either /usr/local
or /usr.

libzita-resampler.so -> libzita-resampler.so.1.6.0
libzita-resampler.so.1 -> libzita-resampler.so.1.6.0
libzita-resampler.so.1.6.0

Did you run

sudo ldconfig

?
Post by Benny Alexandar
Is this thr right way to install zita or an I missing something.
You missed to provide what you actually did.

To avoid a local path you could build with

PREFIX=/usr

To "configure dynamic linker run-time bindings" you need to run

sudo ldconfig

after installing a library.

Btw. your PATH variable should include /usr/local/bin.
Fons Adriaensen
2018-06-16 07:01:36 UTC
Permalink
Post by Benny Alexandar
I had faced some issues with zita installation.
While installing zita-a2j/j2a by default it installed under /usr/local/lib64 folder.
I need to export this path.
The version on my website will install in /usr/local/bin, not /usr/local/lib64.
Post by Benny Alexandar
While running zita-a2j it throwed an error saying couldn't find libzita-resampler.so.1
and when checked it is named as "libzita-resampler.so.1.6.0"
I need to create a soft link to this lib as "libzita-resampler.so.1"
You need to ensure that /usr/local/lib64 is used by the loader/linker.
See /etc/ld.so.conf.d.
--
FA
Ralf Mardorf
2018-06-16 07:26:04 UTC
Permalink
Post by Ralf Mardorf
Post by Benny Alexandar
I had faced some issues with zita installation.
Zita what?
Seemingly you are talking about zita-ajbridge and zita-resampler.
Post by Benny Alexandar
While installing zita-a2j/j2a by default it installed
under /usr/local/lib64 folder. I need to export this path.
Strange, it should be a path to bin, not to lib.
Post by Benny Alexandar
While running zita-a2j it throwed an error saying couldn't find
libzita-resampler.so.1 and when checked it is named as
"libzita-resampler.so.1.6.0" I need to create a soft link to this lib
as "libzita-resampler.so.1"
There should be no need to create a link.
Oops, the Arch Linux PKGBUILDs indeed include a few link and path
fixes.
Post by Ralf Mardorf
Indeed, the right path here
is lib. There already should be the needed links in either /usr/local
or /usr.
libzita-resampler.so -> libzita-resampler.so.1.6.0
libzita-resampler.so.1 -> libzita-resampler.so.1.6.0
libzita-resampler.so.1.6.0
Did you run
sudo ldconfig
?
Post by Benny Alexandar
Is this thr right way to install zita or an I missing something.
You missed to provide what you actually did.
To avoid a local path you could build with
PREFIX=/usr
To "configure dynamic linker run-time bindings" you need to run
sudo ldconfig
after installing a library.
Btw. your PATH variable should include /usr/local/bin.
FWIW on Ubuntu you could run

sudo checkinstall

instead of

sudo makeinstall

When installing a package (e.g. build with checkinstall), there's no
need to run ldconfig.

Loading...