#983547 julia-common: julia-config.jl does not find libjulia.so

#983547#5
Date:
2021-02-26 00:45:06 UTC
From:
To:
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.

#983547#10
Date:
2021-02-26 09:39:01 UTC
From:
To:
Hi Gregory

Instead of adding the symlink, try installing the libjulia-dev package.

Regards
Graham

#983547#15
Date:
2021-02-28 23:56:57 UTC
From:
To:
Hi Graham

Le ven. 26 févr. 2021 à 10:39, Graham Inggs <ginggs@debian.org> a écrit :

That worked like a charm, thanks!
__
Greg

#983547#20
Date:
2021-03-01 07:06:30 UTC
From:
To:
Hi Greg

Thanks for the feedback.

Regards
Graham

#983547#25
Date:
2021-03-01 07:09:41 UTC
From:
To:
Mo, Norbert, do you think we should add libjulia-dev to julia's Recommends?
#983547#30
Date:
2021-03-01 08:24:47 UTC
From:
To:
Hmmm, I don't think so. Those who want to use this packaging feature
should probably also find out that it is the -dev package they need.

Just my 2c

Best

Norbert

#983547#35
Date:
2022-06-25 09:35:16 UTC
From:
To:
Dear submitter,

as the package julia has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/1011382

The version of this package that was in Debian prior to this removal
can still be found using http://snapshot.debian.org/.

Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
ftpmaster@ftp-master.debian.org.

Debian distribution maintenance software
pp.
Thorsten Alteholz (the ftpmaster behind the curtain)