Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 471930 - dev-lua/luacrypto /usr/lib/lua/5.1 not in LD_LIBRARY_PATH
Summary: dev-lua/luacrypto /usr/lib/lua/5.1 not in LD_LIBRARY_PATH
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords: NeedPatch
Depends on:
Blocks: 469194
  Show dependency tree
 
Reported: 2013-05-31 18:20 UTC by Julian Ospald
Modified: 2020-12-04 11:32 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Julian Ospald 2013-05-31 18:20:48 UTC
wrt bug 469194 I have a package that originally bundled luacrypto. I provided a patch to unbundle it which makes use of the pkg-config file and links against luacrypto.

see https://github.com/luvit/luvit/pull/416

Unfortunately /usr/lib/lua/5.1 is not in LD_LIBRARY_PATH, so only linking works, but runtime not. Are applications always supposed to dlopen libs from there?
Comment 1 Julian Ospald 2013-05-31 18:25:30 UTC
Another thing that worries me is that dev-python/pyopenssl and dev-lang/erlang seem to have a lib that's called "crypto.so" as well, but is not related to luacrypto at all.
Comment 2 Tim Harder gentoo-dev 2013-06-08 21:40:40 UTC
As discussed on irc previously, I don't think this is a bug we can fix since lua upstream doesn't really support linking against modules.

Anyway, reassigning to lua maintainers since it would be their call if they want lua/luajit to add an env.d file that sets LDPATH so the paths would be included in /etc/ld.so.conf.
Comment 3 Pacho Ramos gentoo-dev 2017-06-06 10:14:41 UTC
CCing all lua maintainers
Comment 4 Larry the Git Cow gentoo-dev 2020-12-04 11:32:32 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e4a13771f0dba826e3f2cd8986bb1b0f7a2ce972

commit e4a13771f0dba826e3f2cd8986bb1b0f7a2ce972
Author:     Conrad Kostecki <conikost@gentoo.org>
AuthorDate: 2020-12-04 11:26:23 +0000
Commit:     Conrad Kostecki <conikost@gentoo.org>
CommitDate: 2020-12-04 11:26:23 +0000

    dev-lua/luacrypto: last rite package
    
    Closes: https://bugs.gentoo.org/471930
    Closes: https://bugs.gentoo.org/674894
    Closes: https://bugs.gentoo.org/730014
    Closes: https://bugs.gentoo.org/736190
    Signed-off-by: Conrad Kostecki <conikost@gentoo.org>

 dev-lua/luacrypto/Manifest                         |  1 -
 .../files/luacrypto-0.3.2-lualibdir.patch          | 11 ------
 dev-lua/luacrypto/luacrypto-0.3.2-r1.ebuild        | 39 ----------------------
 dev-lua/luacrypto/metadata.xml                     |  8 -----
 profiles/package.mask                              |  6 ----
 5 files changed, 65 deletions(-)