Opened 18 months ago
Last modified 18 months ago
#67547 assigned defect
mapserver @6.2.4: Undefined symbols "_yywrap"
Reported by: | canonneo | Owned by: | jeabraham |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | mascguy (Christopher Nielsen) | |
Port: | mapserver |
Description (last modified by jmroot (Joshua Root))
mapserver v 6.2.4 cofig.log:
configure:14233: checking whether the /usr/bin/clang++ linker (/Library/Developer/CommandLineTools/usr/bin/ld) supports shared libraries configure:14272: result: yes configure:14413: checking dynamic linker characteristics configure:15092: result: darwin21.6.0 dyld configure:15145: checking how to hardcode library paths into programs configure:15170: result: immediate configure:15210: checking whether the C++ compiler works configure:15232: /usr/bin/clang++ -o conftest -pipe -Os -stdlib=libc++ -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 conftest.cpp >&5 configure:15232: $? = 0 configure:15246: result: configure:15253: checking for flex configure:15269: found /usr/bin/flex configure:15280: result: flex configure:15317: flex conftest.l configure:15321: $? = 0 configure:15323: checking lex output file root configure:15337: result: lex.yy configure:15342: checking lex library configure:15356: /usr/bin/clang -o conftest -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 conftest.c >&5 Undefined symbols for architecture arm64: "_yywrap", referenced from: _yylex in conftest-ec9733.o _main in conftest-ec9733.o ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation) configure:15356: $? = 1
Change History (6)
comment:1 Changed 18 months ago by jmroot (Joshua Root)
Description: | modified (diff) |
---|---|
Owner: | set to jea@… |
Status: | new → assigned |
comment:2 Changed 18 months ago by ryandesign (Ryan Carsten Schmidt)
Summary: | sudo port install mapserver Failed → mapserver : Undefined symbols "_yywrap" |
---|
comment:3 follow-up: 4 Changed 18 months ago by ryandesign (Ryan Carsten Schmidt)
Summary: | mapserver : Undefined symbols "_yywrap" → mapserver @6.2.4: Undefined symbols "_yywrap" |
---|
comment:4 Changed 18 months ago by canonneo
Replying to ryandesign:
Yes the config.log does say that, but are you sure that's a problem?
This is part of the configure script's check for which lex library to use. As a result of the undefined
_yywrap
symbol error you pointed out, it determined that it should use thel
lex library:checking lex library... -llAnd the configure script proceeded. So this error in the config.log does not necessarily indicate a problem.
configuration does eventually fail, for me (and presumably for you, though you did not attach the main.log which would have told us for sure) due to the message:
configure: error: gdlib-config not found in /opt/local (tried /opt/local/bin/gdlib-config)That's already tracked in #64342.
This might already be fixed in a newer version of mapserver. That's already tracked in #49485.
A pull request was submitted 8 hours ago to address both issues and will hopefully be fixed and merged soon.
thx, and I'll try again with new version mapserver 8.0.1
comment:5 Changed 18 months ago by mascguy (Christopher Nielsen)
mapserver
was just updated to 8.0.1, and should be available within another hour or two. Let us know if it fixes the issues!
comment:6 Changed 18 months ago by mascguy (Christopher Nielsen)
Cc: | mascguy added |
---|
Yes the config.log does say that, but are you sure that's a problem?
This is part of the configure script's check for which lex library to use. As a result of the undefined
_yywrap
symbol error you pointed out, it determined that it should use thel
lex library:And the configure script proceeded. So this error in the config.log does not necessarily indicate a problem.
configuration does eventually fail, for me (and presumably for you, though you did not attach the main.log which would have told us for sure) due to the message:
That's already tracked in #64342.
This might already be fixed in a newer version of mapserver. That's already tracked in #49485.
A pull request was submitted 8 hours ago to address both issues and will hopefully be fixed and merged soon.