filcuc/nimqml

Cant find libDOtherSide.so.0.6

juancarlospaco opened this issue · 3 comments

I installed it manually from repo, Arch Linux AUR is broken.
It cant find it on the place it installs it, then I symlinked and it works,
it seems that the make install installs it on a place it can not find it.

$ nim c -r -d:nimDebugDlOpen example.nim

Hint: operation successful (7730 lines compiled; 0.034 sec total; 10.336MiB peakmem; Debug Build) [SuccessX]
Hint: /home/juan/code/example  [Exec]
libDOtherSide.so.0.6: cannot open shared object file: No such file or directory
could not load: libDOtherSide.so.0.6

sudo ln -sv /usr/local/lib/libDOtherSide.so.0.6 /usr/lib/libDOtherSide.so.0.6
[sudo] password for juan:
'/usr/lib/libDOtherSide.so.0.6' -> '/usr/local/lib/libDOtherSide.so.0.6'

[juan@n src]$ nim c -r -d:nimDebugDlOpen example.nim
Hint: operation successful (7730 lines compiled; 0.034 sec total; 10.336MiB peakmem; Debug Build) [SuccessX]
Hint: /home/juan/code/example  [Exec]
QSettings::value: Empty key passed
QSettings::value: Empty key passed
QApplication: invalid style override passed, ignoring it.
Available styles: Breeze, bb10dark, bb10bright, cleanlooks, gtk2, cde, motif, plastique, Oxygen, QtCurve, Windows, Fusion

# It Works!.

Make install of libDOtherSide install the binaries by default in /usr/local you can customize the install path by setting the proper value through CMake. Probably /usr/local/lib is not in the ld search path.
That said yes, we should need an updated package in AUR

(mantainers wellcome)

Ok ❕