[jira] [Closed] (XERCESC-2176) Incorrect symbolic links created for Linux static library and MacOS static and shared libraries
"Scott Cantor (Jira)" <[email protected]>
| Newsgroups | gmane.text.xml.xerces-c.devel |
|---|---|
| Message-ID | <[email protected]> |
[ https://issues.apache.org/jira/browse/XERCESC-2176?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Scott Cantor closed XERCESC-2176.
---------------------------------
> Incorrect symbolic links created for Linux static library and MacOS static and shared libraries
> -----------------------------------------------------------------------------------------------
>
> Key: XERCESC-2176
> URL: https://issues.apache.org/jira/browse/XERCESC-2176
> Project: Xerces-C++
> Issue Type: Bug
> Components: Build
> Affects Versions: 3.2.0, 3.2.1, 3.2.2
> Environment: Linux, MacOS
> Reporter: Brent Davis
> Assignee: Roger Leigh
> Priority: Minor
> Fix For: 3.2.3, 4.0.0
>
>
> We build Xerces-C++ for both the Linux and MacOS platforms, with both static and shared libraries. There are arguably some dubiously named symbolic links created by src/CMakeLists.txt. The symlinks are always named 'libxerces-c.so' regardless or library type, or use of the .dylib extension on MacOS.
> ||Platform||Library Type||Symbolic Link||Comment||
> |{color:#de350b}Linux{color}|{color:#de350b}static{color}|{color:#de350b}libxerces-c.so -> libxerces-c-3.2.a{color}|{color:#de350b}symbolic link should either be libxerces-c.a or not created{color}|
> |{color:#00875a} {color}|{color:#00875a}shared{color}|{color:#00875a}libxerces-c.so -> libxerces-c-3.2.so{color}|{color:#00875a}good{color}|
> |{color:#de350b}MacOS{color}|{color:#de350b}static{color}|{color:#de350b}libxerces-c.so -> libxerces-c-3.2.a{color}|{color:#de350b}symbolic link should either be libxerces-c.a or not created{color}|
> |{color:#de350b} {color}|{color:#de350b}shared{color}|{color:#de350b}libxerces-c.so -> libxerces-c-3.2.dylib{color}|{color:#de350b}symbolic link should best be named libxerces-c.dylib{color}|
> Curiously, the Microsoft _vcpkg_ folks just recently ran into the Linux static library portion of this issue and elected to not create the symlink in that case. See [[xerces-c] produces strange files in installed/x64-linux/lib|[https://github.com/microsoft/vcpkg/issues/7490]].
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)