avraham.rosenberg wrote:

Some time ago, I installed debian3.0r1 stable, both at home and at work.
Then, these days, I decided that I need Hebrew support. First on the
console: I wrote a small script that changes the charset and allows
metachars. Sure enough, I was able to read Hebrew and, when using
Hebrew-enabled vim to write as well. Then I looked for libbidi and bidiv.
As the newest deb packages are based on a different library than mine,
and I could not find an older one, I downloaded the tar bals and went
through the usual ./configure, make, install for libdibi (it installs by
default in /usr/local/lib) then I added /usr/local/lib to /etc/ld.so.conf
and then I compiled bidiv, which landed in /usr/local/bin.
Now, while at home bidiv worked without any problem, at work the linker
was unable to find libbidi.so. The only way to convince bidiv to work was
by creating a symbolic link from /usr/local/lib/libbidi.so.0.0 to
/usr/lib/libbidi.so where bidiv looks for the library.
I certainly must have done something different at work, but I can't
remember or guess what.
Any ideas ?
Thanks, avraham


Aside from Gilad's answer, which is what I think was wrong too, that is not the way you do thing in Debian.

If you want to import a library that has Debian support, but for some reason will not install on your particular setup, the thing to do is to get the debian sources (apt-get source package), and then compile into a deb (cd into the directory, and do "fakeroot debian/rules binary"). This allows you to install the package using the debian packaging system.

Some of the added bonuses you get from following this procedure include:
1. You can install packages that depend on this library via apt
2. You can compile on one machine, and install on many
3. You can easilly and reliably uninstall.

Shachar

--
Shachar Shemesh
Open Source integration consultant
Home page & resume - http://www.shemesh.biz/



=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Reply via email to