pg icon indicating copy to clipboard operation
pg copied to clipboard

Update glfw.py

Open stuaxo opened this issue 10 years ago • 8 comments

Add simple parser for ldsoconf to find libraries

stuaxo avatar Jul 22 '15 13:07 stuaxo

Doesn't accept relative include paths in ld.so.conf.

praiskup avatar Nov 02 '17 06:11 praiskup

Can you post some examples of the relative paths you have in ld.so.conf and I can see how it breaks ?

stuaxo avatar Nov 02 '17 10:11 stuaxo

$ cat /etc/ld.so.conf
include ld.so.conf.d/*.conf

(edit, that's actually Fedora 26, where we need to add '/usr/lib64' manually, that's not listed within ld.so.conf*)

praiskup avatar Nov 02 '17 11:11 praiskup

Does Fedora26 not include /usr/lib64 in any of the confs at all ?

In that case I guess my parser is in vain.

stuaxo avatar Nov 02 '17 12:11 stuaxo

It is fixed to work with relative paths.

stuaxo avatar Nov 02 '17 12:11 stuaxo

Does Fedora26 not include /usr/lib64 in any of the confs at all ?

Nope, but I kind of "hoped" that we could add /usr/lib64 into the list of standard lib directories also through this PR; but it's up to you (I'm passing by really accidentally, because of https://bugzilla.redhat.com/show_bug.cgi?id=1503042)

praiskup avatar Nov 02 '17 13:11 praiskup

Is /usr/local/lib64 also a thing ?

This probably makes sense as a separate pull request as it does less than this one, so has more chance of being accepted (though this one is 2+ years old)

stuaxo avatar Nov 02 '17 14:11 stuaxo

Is /usr/local/lib64 also a thing ?

Definitely less important than /usr/lib64. Nothing is really installed (by system packages) under /usr/local on FHS distro.

This probably makes sense as a separate pull request

ACK.

praiskup avatar Nov 03 '17 06:11 praiskup