-
Notifications
You must be signed in to change notification settings - Fork 751
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Running pkg-config --list-all with PROJ installed causes segfault #2064
Comments
Can you past the proj.pc file here too?
|
Yep, here is my proj.pc contents! prefix=/usr/local/Cellar/proj/7.0.0
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include
datadir=${datarootdir}/proj
Name: PROJ
Description: Coordinate transformation software library
Requires:
Version: 7.0.0
Libs: -L${libdir} -lproj
Libs.private: -lsqlite3 -lstdc++
Cflags: -I${includedir} |
hmph, that doesn't look that interesting. |
@volleio I'm unable to recreate the segfault under Ubuntu 18.04, but let's see if #2067 can resolve this issue. Could you try this
|
@mwtoews that resolved it, thank you! |
Prior to this, pkg-config would fail due to the missing definition. Also fix autoconf errors See OSGeo/PROJ#2064 and the fix in OSGeo/PROJ#2067
Prior to this, pkg-config would fail due to the missing definition. Also fix autoconf errors See OSGeo/PROJ#2064 and the fix in OSGeo/PROJ#2067 Closes #51902. Signed-off-by: Jonathan Chang <jonathan.chang@monash.edu>
Example of problem
Found this issue debugging the install of RMagick.
Installing PROJ and then running
causes a segfault while
Parsing package file '/usr/local/lib/pkgconfig/proj.pc'
.Running
results in
Variable 'datarootdir' not defined in '/usr/local/lib/pkgconfig/proj.pc'
. Removing /usr/local/lib/pkgconfig/proj.pc (renaming it to proj.pc.backup) and re-running thepkg-config --list-all
command succeeds without segfault.Problem description
PROJ shouldn't affect
pkg-config
's ability to list all packages.Expected Output
pkg-config --list-all
should output all of the installed packages in thepkg-config
pc paths.Environment Information
Installation method
The text was updated successfully, but these errors were encountered: