Opened 5 years ago

Last modified 5 years ago

#1888 assigned bug

libpciaccess.so not found despite configure okay

Reported by: jhammond Owned by: balaji
Priority: major Milestone: future
Component: hydra Keywords:
Cc:

Description

I would have expected configure to check for dependencies and not have the build fail.

Jeff

cy002:hydra jhammond$ which gcc
/sw/sdev/gcc/x86_64/4.7.3/bin/gcc
cy002:hydra jhammond$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/nas/sw/sdev/gcc/x86_64/4.7.3/bin/../libexec/gcc/x86_64-unknown-linux-gnu/4.7.3/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: ./configure --with-mpc=/sw/sdev/mpc/x86_64/0.8.2 --with-mpfr=/sw/sdev/mpfr/x86_64/3.1.0 --with-gmp=/sw/sdev/gmp/x86_64/5.0.4 --prefix=/sw/sdev/gcc/x86_64/4.7.3
Thread model: posix
gcc version 4.7.3 (GCC) 
cy002:hydra jhammond$ uname -a
Linux cy002 2.6.32.54-0.3.1.3900.0.PTF-default #1 SMP 2012-01-27 17:38:56 +0100 x86_64 x86_64 x86_64 GNU/Linux
cy002:hydra jhammond$ make
Making all in mpl
make[1]: Entering directory `/nas/store/jhammond/MPICH/mpich-3.0.4/build-gcc/src/pm/hydra/mpl'
  CC       mplstr.lo
  CC       mpltrmem.lo
  CC       mplenv.lo
  CCLD     libmpl.la
make[1]: Leaving directory `/nas/store/jhammond/MPICH/mpich-3.0.4/build-gcc/src/pm/hydra/mpl'
Making all in tools/topo/hwloc/hwloc
make[1]: Entering directory `/nas/store/jhammond/MPICH/mpich-3.0.4/build-gcc/src/pm/hydra/tools/topo/hwloc/hwloc'
Making all in src
make[2]: Entering directory `/nas/store/jhammond/MPICH/mpich-3.0.4/build-gcc/src/pm/hydra/tools/topo/hwloc/hwloc/src'
make[3]: Entering directory `/nas/store/jhammond/MPICH/mpich-3.0.4/build-gcc/src/pm/hydra/tools/topo/hwloc/hwloc/src'
  CC       components.lo
  CCLD     libhwloc_embedded.la
make[3]: Leaving directory `/nas/store/jhammond/MPICH/mpich-3.0.4/build-gcc/src/pm/hydra/tools/topo/hwloc/hwloc/src'
make[2]: Leaving directory `/nas/store/jhammond/MPICH/mpich-3.0.4/build-gcc/src/pm/hydra/tools/topo/hwloc/hwloc/src'
Making all in include
make[2]: Entering directory `/nas/store/jhammond/MPICH/mpich-3.0.4/build-gcc/src/pm/hydra/tools/topo/hwloc/hwloc/include'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/nas/store/jhammond/MPICH/mpich-3.0.4/build-gcc/src/pm/hydra/tools/topo/hwloc/hwloc/include'
make[2]: Entering directory `/nas/store/jhammond/MPICH/mpich-3.0.4/build-gcc/src/pm/hydra/tools/topo/hwloc/hwloc'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/nas/store/jhammond/MPICH/mpich-3.0.4/build-gcc/src/pm/hydra/tools/topo/hwloc/hwloc'
make[1]: Leaving directory `/nas/store/jhammond/MPICH/mpich-3.0.4/build-gcc/src/pm/hydra/tools/topo/hwloc/hwloc'
Making all in .
make[1]: Entering directory `/nas/store/jhammond/MPICH/mpich-3.0.4/build-gcc/src/pm/hydra'
  CC       alloc.lo
  CC       args.lo
  CC       dbg.lo
  CC       env.lo
  CC       launch.lo
  CC       others.lo
  CC       signals.lo
  CC       sock.lo
  CC       string.lo
  CC       topo.lo
  CC       topo_hwloc.lo
  CC       bsci_init.lo
  CC       bsci_finalize.lo
  CC       bsci_launch.lo
  CC       bsci_query_node_list.lo
  CC       bsci_query_proxy_id.lo
  CC       bsci_query_native_int.lo
  CC       bsci_wait.lo
  CC       bsci_env.lo
  CC       bscu_wait.lo
  CC       bscu_cb.lo
  CC       external_common.lo
  CC       external_common_launch.lo
  CC       fork_init.lo
  CC       user_init.lo
  CC       manual_init.lo
  CC       rsh_init.lo
  CC       rsh_env.lo
  CC       ssh_init.lo
  CC       ssh.lo
  CC       ssh_env.lo
  CC       ssh_finalize.lo
  CC       slurm_init.lo
  CC       slurm_launch.lo
  CC       slurm_env.lo
  CC       slurm_query_native_int.lo
  CC       slurm_query_node_list.lo
  CC       slurm_query_proxy_id.lo
  CC       ll_init.lo
  CC       ll_launch.lo
  CC       ll_query_native_int.lo
  CC       ll_query_node_list.lo
  CC       ll_query_proxy_id.lo
  CC       ll_env.lo
  CC       lsf_init.lo
  CC       lsf_query_native_int.lo
  CC       lsf_query_node_list.lo
  CC       lsf_env.lo
  CC       sge_init.lo
  CC       sge_query_native_int.lo
  CC       sge_query_node_list.lo
  CC       sge_env.lo
  CC       pbs_init.lo
  CC       pbs_query_native_int.lo
  CC       pbs_query_node_list.lo
  CC       cobalt_init.lo
  CC       cobalt_query_native_int.lo
  CC       cobalt_query_node_list.lo
  CC       persist_init.lo
  CC       persist_launch.lo
  CC       persist_wait.lo
  CC       ckpoint.lo
  CC       demux.lo
  CC       demux_poll.lo
  CC       demux_select.lo
  CC       debugger.lo
  CC       hydt_ftb_dummy.lo
  CC       uiu.lo
  CCLD     libhydra.la
  CC       pmiserv_pmi.lo
  CC       pmiserv_pmi_v1.lo
  CC       pmiserv_pmi_v2.lo
  CC       pmiserv_pmci.lo
  CC       pmiserv_cb.lo
  CC       pmiserv_utils.lo
  CC       common.lo
  CC       pmi_v2_common.lo
  CCLD     libpm.la
  CC       hydra_persist-persist_server.o
  CCLD     hydra_persist
gcc: error: /usr/lib64/libpciaccess.so: No such file or directory
make[1]: *** [hydra_persist] Error 1
make[1]: Leaving directory `/nas/store/jhammond/MPICH/mpich-3.0.4/build-gcc/src/pm/hydra'
make: *** [all-recursive] Error 1

Attachments (1)

config.log (442.7 KB) - added by jhammond 5 years ago.

Download all attachments as: .zip

Change History (5)

Changed 5 years ago by jhammond

comment:1 Changed 5 years ago by jhammond

Okay, it's a machine config problem but I would still expect configure to detect this.

cy002:hydra jhammond$ ll /usr/lib64/libpciaccess.so*
lrwxrwxrwx 1 root  22 2012-09-06 11:37 /usr/lib64/libpciaccess.so -> libpciaccess.so.0.10.2
lrwxrwxrwx 1 root  22 2012-04-05 12:25 /usr/lib64/libpciaccess.so.0 -> libpciaccess.so.0.10.8
-rwxr-xr-x 1 root 35K 2011-10-10 16:16 /usr/lib64/libpciaccess.so.0.10.8

comment:2 Changed 5 years ago by balaji

  • Owner set to balaji
  • Status changed from new to assigned

From the config.log, configure seems to think that libpciaccess is available. Which machine is this on?

comment:3 Changed 5 years ago by balaji

  • Milestone changed from mpich-3.1 to future

These kind of errors are really hard to detect in configure. I don't have a good way to handle this. I'm going to mark this ticket as "future" till we know how to fix this.

Note: See TracTickets for help on using tickets.