[Pkg-julia-devel] Bug#983547: julia-common: julia-config.jl does not find libjulia.so
Gregory
greg.van2021 at Gmail.com
Fri Feb 26 00:45:06 GMT 2021
Package: julia-common
Version: 1.5.3+dfsg-3
Severity: normal
X-Debbugs-Cc: greg.van2021 at gmail.com
Dear Maintainer,
To embed Julia in a C program it's possible to use the script:
/usr/share/julia/julia-config.jl
But in Debian it is not usable with the following args:
--ldflags or --ldlibs
This script is a simple tool to know automatically which parameter to
give to gcc when embeding Julia in a C program. It's usable in Julia
from julialang.org. This is in fact an old "bug" in the Debian package.
Try for example:
$/usr/share/julia/julia-config.jl --allflags
It will return (among other things):
libjulia.so: cannot open shared object file: no such file or directory
Adding a symlink libjulia.so that points to libjulia.so.1.5 (package libjulia1)
is a workaround of course.
-- System Information:
Distributor ID: Debian
Description: Debian
Release:
Codename: sid
Architecture: x86_64
Kernel: Linux 5.4.72-microsoft-standard-WSL2 (SMP w/4 CPU threads)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: unable to detect
julia-common depends on no packages.
Versions of packages julia-common recommends:
ii julia 1.5.3+dfsg-3
julia-common suggests no packages.
-- no debconf information
More information about the Pkg-julia-devel
mailing list