You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by "Boris Kolpackov (JIRA)" <xe...@xml.apache.org> on 2009/09/19 18:21:16 UTC
[jira] Commented: (XERCESC-1889) Cannot build shared library from
xerces-c 3.0.1 (64bit) on AIX6.1 with xlC V9
[ https://issues.apache.org/jira/browse/XERCESC-1889?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12757674#action_12757674 ]
Boris Kolpackov commented on XERCESC-1889:
------------------------------------------
Can you attach config.log (created by configure) to this bug report? Also, can you build 32-bit shared libraries with this setup?
> Cannot build shared library from xerces-c 3.0.1 (64bit) on AIX6.1 with xlC V9
> -----------------------------------------------------------------------------
>
> Key: XERCESC-1889
> URL: https://issues.apache.org/jira/browse/XERCESC-1889
> Project: Xerces-C++
> Issue Type: Bug
> Components: Build
> Affects Versions: 3.0.1
> Environment: OS: AIX 6.1
> Compiler: IBM XL C/C++ Enterprise Edition for AIX, V9.0
> Object Mode: 64 bit
> Reporter: Lin Shen
>
> when building xerces-c 3.0.1 (64bit) on AIX 6.1 with VisualAge 9, the static library was built easily; but the shared library cannot be built.
> The following is the details for configuration and build:
> export OBJECT_MODE=64
> Configure command:
> ./configure --prefix=/opt/manhattan64/xerces-c/3.0.1 --enable-shared=yes CXX=xlC_r CC=xlC_r CXXFLAGS=-q64 CFLAGS=-q64 |tee cfg.txt 2>&1
> Build command:
> gmake libxerces_c_la_LDFLAGS=-qmkshrobj
> The following is the partial output from configure log, cfg.txt:
> +58 checking for xlC_r option to produce PIC...
> +59 checking if xlC_r static flag -bnso -bI:/lib/syscalls.exp works... no
> +60 checking if xlC_r supports -c -o file.o... yes
> +61 checking whether the xlC_r linker (/usr/bin/ld) supports shared libraries... no
> +62 checking dynamic linker characteristics... no
> +63 checking how to hardcode library paths into programs... unsupported
> +64 checking whether stripping libraries is possible... no
> +65 checking if libtool supports shared libraries... no
> +66 checking whether to build shared libraries... no
> +67 checking whether to build static libraries... yes
> +68 configure: creating libtool
> +69 appending configuration tag "CXX" to libtool
> +70 checking whether the xlC_r linker (/usr/bin/ld) supports shared libraries... no
> +71 checking for xlC_r option to produce PIC...
> +72 checking if xlC_r static flag works... yes
> +73 checking if xlC_r supports -c -o file.o... yes
> +74 checking whether the xlC_r linker (/usr/bin/ld) supports shared libraries... no
> +75 checking dynamic linker characteristics... no
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org