Skip to content
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

Problem in bz2 dependency in installed .pc (pkg-config) file on win64 #20

Closed
traversaro opened this issue Nov 8, 2020 · 1 comment
Closed

Comments

@traversaro
Copy link
Contributor

Issue:
After installing the libzip package on Windows, printing the libs via pkg-config result in:

(dome-dev) C:\src\dome-dev>pkg-config --msvc-syntax --libs libzip
/libpath:C:/Users/STraversaro/Miniconda3/envs/dome-dev/Library/lib zip.lib bz2.lib z.lib

However, while the libraries zip.lib and z.lib indeed exists, the bz2.lib library does not exist, and the only two libraries that exists and are installed by the bzip2 package are bzip2.lib and libbz2.lib .


Environment (conda list):
(dome-dev) C:\src\dome-dev>conda list
# packages in environment at C:\Users\STraversaro\Miniconda3\envs\dome-dev:
#
# Name                    Version                   Build  Channel
atomicwrites              1.4.0              pyh9f0ad1d_0    conda-forge
attrs                     20.2.0             pyh9f0ad1d_0    conda-forge
boost-cpp                 1.74.0               hd4e6614_0    conda-forge
brotlipy                  0.7.0           py39ha3862ff_1001    conda-forge
bzip2                     1.0.8                he774522_3    conda-forge
ca-certificates           2020.6.20            hecda079_0    conda-forge
catkin_pkg                0.4.23             pyh9f0ad1d_0    conda-forge
certifi                   2020.6.20        py39h467e6f4_2    conda-forge
cffi                      1.14.3           py39h50be354_1    conda-forge
chardet                   3.0.4           py39h467e6f4_1008    conda-forge
cmake                     3.18.4               h39d44d4_0    conda-forge
colcon-cmake              0.2.26                     py_0    conda-forge
colcon-common-extensions  0.2.1            py39hde42818_2    conda-forge
colcon-core               0.6.1            py39hde42818_1    conda-forge
colcon-defaults           0.2.5                      py_0    conda-forge
colcon-devtools           0.2.2                      py_0    conda-forge
colcon-library-path       0.2.1                      py_0    conda-forge
colcon-metadata           0.2.5                      py_0    conda-forge
colcon-notification       0.2.13           py39hde42818_1    conda-forge
colcon-output             0.2.12                     py_0    conda-forge
colcon-package-information 0.3.3                      py_0    conda-forge
colcon-package-selection  0.2.10                     py_0    conda-forge
colcon-parallel-executor  0.2.4                      py_0    conda-forge
colcon-pkg-config         0.1.0                      py_0    conda-forge
colcon-powershell         0.3.6                      py_0    conda-forge
colcon-python-setup-py    0.2.7                      py_0    conda-forge
colcon-recursive-crawl    0.2.1                      py_0    conda-forge
colcon-ros                0.3.21                     py_0    conda-forge
colcon-test-result        0.3.8                      py_0    conda-forge
colorama                  0.4.4              pyh9f0ad1d_0    conda-forge
coloredlogs               14.0             py39hde42818_2    conda-forge
conda                     4.9.0            py39h467e6f4_1    conda-forge
conda-package-handling    1.7.2            py39h9300fe8_0    conda-forge
console_bridge            1.0.1                h7ef1ec2_0    conda-forge
coverage                  5.3              py39h4cdbadb_1    conda-forge
cppzmq                    4.6.0                h7ef1ec2_1    conda-forge
cryptography              3.2.1            py39h0878f49_0    conda-forge
distlib                   0.3.1              pyh9f0ad1d_0    conda-forge
dlfcn-win32               1.2.0                he025d50_0    conda-forge
docutils                  0.16             py39h467e6f4_2    conda-forge
eigen                     3.3.8                h74a9793_0    conda-forge
empy                      3.3.4              pyh9f0ad1d_1    conda-forge
ffmpeg                    4.3.1                ha925a31_0    conda-forge
freeimage                 3.18.0               h33f27b4_0    conda-forge
freetype                  2.10.4               h546665d_0    conda-forge
gettext                   0.19.8.1          hfbb10ce_1004    conda-forge
glib                      2.66.2               ha925a31_0    conda-forge
gts                       0.7.6                hee8e781_1    conda-forge
humanfriendly             8.2              py39hde42818_1    conda-forge
icu                       67.1                 h33f27b4_0    conda-forge
idna                      2.10               pyh9f0ad1d_0    conda-forge
ilmbase                   2.5.3                h7bd577a_0    conda-forge
iniconfig                 1.1.1              pyh9f0ad1d_0    conda-forge
jpeg                      9d                   h8ffe710_0    conda-forge
jsoncpp                   1.8.4             h1ad3211_1002    conda-forge
krb5                      1.17.1               hc04afaa_3    conda-forge
libarchive                3.3.3             h793d221_1008    conda-forge
libclang                  10.0.1          default_hf44288c_1    conda-forge
libcurl                   7.71.1               h4b64cdc_8    conda-forge
libffi                    3.2.1             ha925a31_1007    conda-forge
libglib                   2.66.2               h31c07e1_0    conda-forge
libiconv                  1.16                 he774522_0    conda-forge
libignition-cmake2        2.5.0                h39d44d4_1    conda-forge
libignition-math6         6.6.0                h13ae965_1    conda-forge
libpng                    1.6.37               h1d00b33_2    conda-forge
libprotobuf               3.13.0.1             h200bbdf_0    conda-forge
libsodium                 1.0.18               h62dcd97_1    conda-forge
libsolv                   0.7.16               h200bbdf_0    conda-forge
libssh2                   1.9.0                hb06d900_5    conda-forge
libxml2                   2.9.10               h1006b36_2    conda-forge
libzip                    1.5.1             h8f0db0c_1005    conda-forge
lz4-c                     1.9.2                h62dcd97_2    conda-forge
lzo                       2.10              he774522_1000    conda-forge
m2w64-gcc-libgfortran     5.3.0                         6
m2w64-gcc-libs            5.3.0                         7
m2w64-gcc-libs-core       5.3.0                         7
m2w64-gmp                 6.1.0                         2
m2w64-libwinpthread-git   5.0.0.4634.697f757               2
mamba                     0.6.4            py39h4abd31e_0    conda-forge
menuinst                  1.4.16           py39hde42818_1    conda-forge
more-itertools            8.6.0              pyhd8ed1ab_0    conda-forge
msys2-conda-epoch         20160418                      1
ogre                      1.12.9               h71cedee_1    conda-forge
openexr                   2.5.3                h5dfd299_0    conda-forge
openssl                   1.1.1h               he774522_0    conda-forge
packaging                 20.4               pyh9f0ad1d_0    conda-forge
pcre                      8.44                 ha925a31_0    conda-forge
pip                       20.2.4                     py_0    conda-forge
pkg-config                0.29.2            h2bf4dc2_1008    conda-forge
pluggy                    0.13.1           py39h467e6f4_3    conda-forge
protobuf                  3.13.0.1         py39hb0d2dfa_1    conda-forge
pugixml                   1.10                 ha925a31_1    conda-forge
py                        1.9.0              pyh9f0ad1d_0    conda-forge
pycosat                   0.6.3           py39ha3862ff_1005    conda-forge
pycparser                 2.20               pyh9f0ad1d_2    conda-forge
pyopenssl                 19.1.0                     py_1    conda-forge
pyparsing                 2.4.7              pyh9f0ad1d_0    conda-forge
pyreadline                2.1             py39hde42818_1002    conda-forge
pysocks                   1.7.1            py39h467e6f4_2    conda-forge
pytest                    6.1.2            py39hcbf5309_0    conda-forge
pytest-cov                2.10.1             pyh9f0ad1d_0    conda-forge
pytest-repeat             0.8.0                      py_0    conda-forge
pytest-rerunfailures      9.1.1                      py_0    conda-forge
pytest-runner             5.2                        py_0    conda-forge
python                    3.9.0           h408a966_4_cpython    conda-forge
python-dateutil           2.8.1                      py_0    conda-forge
python_abi                3.9                      1_cp39    conda-forge
pywin32                   228              py39h4cdbadb_0    conda-forge
pyyaml                    5.3.1            py39ha3862ff_1    conda-forge
qt                        5.12.9               hb2cf2c5_0    conda-forge
requests                  2.24.0             pyh9f0ad1d_0    conda-forge
ruamel_yaml               0.15.80         py39ha3862ff_1003    conda-forge
ruby                      2.7.2                h8b1b97a_0    conda-forge
sdl2                      2.0.12               h0e60522_1    conda-forge
setuptools                49.6.0           py39h467e6f4_2    conda-forge
six                       1.15.0             pyh9f0ad1d_0    conda-forge
sqlite                    3.33.0               he774522_1    conda-forge
swig                      4.0.2                         0    conda-forge
tinyxml                   2.6.2                h7ef1ec2_1    conda-forge
tinyxml2                  8.0.0                he025d50_1    conda-forge
tk                        8.6.10               he774522_1    conda-forge
toml                      0.10.2             pyhd8ed1ab_0    conda-forge
tqdm                      4.51.0             pyh9f0ad1d_0    conda-forge
tzdata                    2020d                h516909a_0    conda-forge
urdfdom                   2.3.3                h7ef1ec2_0    conda-forge
urdfdom_headers           1.0.5                h7ef1ec2_2    conda-forge
urllib3                   1.25.11                    py_0    conda-forge
vc                        14.1                 h869be7e_1    conda-forge
vcstool                   0.2.15             pyh9f0ad1d_0    conda-forge
vs2015_runtime            14.16.27012          h30e32a0_2    conda-forge
vs2017_win-64             19.16.27038          h2e3bad8_2    conda-forge
vswhere                   2.7.1                h21ff451_0
wheel                     0.35.1             pyh9f0ad1d_0    conda-forge
win_inet_pton             1.1.0            py39hde42818_1    conda-forge
wincertstore              0.2             py39hde42818_1005    conda-forge
xz                        5.2.5                h62dcd97_1    conda-forge
yaml                      0.2.5                he774522_0    conda-forge
yaml-cpp                  0.6.3                ha925a31_4    conda-forge
zeromq                    4.3.3                ha925a31_2    conda-forge
zlib                      1.2.11            h62dcd97_1010    conda-forge
zstd                      1.4.5                h1f3a1b7_2    conda-forge
zziplib                   0.13.69              ha81a0f5_1    conda-forge

Details about conda and system ( conda info ):
(dome-dev) C:\src\dome-dev>conda info

     active environment : dome-dev
    active env location : C:\Users\STraversaro\Miniconda3\envs\dome-dev
            shell level : 2
       user config file : C:\Users\STraversaro\.condarc
 populated config files : C:\Users\STraversaro\.condarc
          conda version : 4.8.3
    conda-build version : not installed
         python version : 3.8.3.final.0
       virtual packages : __cuda=10.2
       base environment : C:\Users\STraversaro\Miniconda3  (writable)
           channel URLs : https://conda.anaconda.org/conda-forge/win-64
                          https://conda.anaconda.org/conda-forge/noarch
                          https://repo.anaconda.com/pkgs/main/win-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/r/win-64
                          https://repo.anaconda.com/pkgs/r/noarch
                          https://repo.anaconda.com/pkgs/msys2/win-64
                          https://repo.anaconda.com/pkgs/msys2/noarch
          package cache : C:\Users\STraversaro\Miniconda3\pkgs
                          C:\Users\STraversaro\.conda\pkgs
                          C:\Users\STraversaro\AppData\Local\conda\conda\pkgs
       envs directories : C:\Users\STraversaro\Miniconda3\envs
                          C:\Users\STraversaro\.conda\envs
                          C:\Users\STraversaro\AppData\Local\conda\conda\envs
               platform : win-64
             user-agent : conda/4.8.3 requests/2.23.0 CPython/3.8.3 Windows/10 Windows/10.0.19041
          administrator : False
             netrc file : None
           offline mode : False


(dome-dev) C:\src\dome-dev>
@traversaro
Copy link
Contributor Author

Fixed in #21 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant