Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/tfs/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ubuntu 如何配置/var/lib/dpkg/info/.shlibs 我为Mango C++驱动程序创建了一个Debian程序包。但是包中缺少一个真正重要的文件。shlibs文件位于/var/lib/dpkg/info/。 现在,我疯狂地在谷歌上搜索,想知道如何告诉debian打包机制创建这个shlibs文件。但是我做不到。有人知道该文件需要如何配置吗_Ubuntu_Deb - Fatal编程技术网

Ubuntu 如何配置/var/lib/dpkg/info/.shlibs 我为Mango C++驱动程序创建了一个Debian程序包。但是包中缺少一个真正重要的文件。shlibs文件位于/var/lib/dpkg/info/。 现在,我疯狂地在谷歌上搜索,想知道如何告诉debian打包机制创建这个shlibs文件。但是我做不到。有人知道该文件需要如何配置吗

Ubuntu 如何配置/var/lib/dpkg/info/.shlibs 我为Mango C++驱动程序创建了一个Debian程序包。但是包中缺少一个真正重要的文件。shlibs文件位于/var/lib/dpkg/info/。 现在,我疯狂地在谷歌上搜索,想知道如何告诉debian打包机制创建这个shlibs文件。但是我做不到。有人知道该文件需要如何配置吗,ubuntu,deb,Ubuntu,Deb,我查了其他包裹。例如,在libarchive中,当执行命令dh_makeshlibs-v时,我看到以下内容: rm-f debian/libarchive dev/debian/shlibs rm-f debian/libarchive12/debian/shlibs echo'libarchive 12 libarchive12'>>debian/libarchive12/debian/shlibs dh_makeshlibs>>debian/libarchive12.postinst.deb

我查了其他包裹。例如,在libarchive中,当执行命令dh_makeshlibs-v时,我看到以下内容: rm-f debian/libarchive dev/debian/shlibs rm-f debian/libarchive12/debian/shlibs echo'libarchive 12 libarchive12'>>debian/libarchive12/debian/shlibs dh_makeshlibs>>debian/libarchive12.postinst.debhelper自动添加的echo sed/usr/share/debhelper/autoscripts/postinst makeshlibs>>debian/libarchive12.postinst.debhelper echo“结束自动添加的部分”>>debian/libarchive12.postinst.debhelper dh_makeshlibs>debian/libarchive12.postrm.debhelper.new自动添加的echo sed/usr/share/debhelper/autoscripts/postrm makeshlibs>>debian/libarchive12.postrm.debhelper.new echo“结束自动添加的部分”>>debian/libarchive12.postrm.debhelper.new cat debian/libarchive12.postrm.debhelper>>debian/libarchive12.postrm.debhelper.new mv debian/libarchive12.postrm.debhelper.new debian/libarchive12.postrm.debhelper chmod 644 debian/libarchive12/debian/shlibs 周0:0 debian/libarchive12/debian/shlibs grep-s-v misc:Pre-debian/libarchive12.subsvars;echo misc:Pre dependens=multiarch support>debian/libarchive12.subsvars.new mv debian/libarchive12.subsvars.new debian/libarchive12.subsvars rm-f debian/bsdtar/debian/shlibs rm-f debian/bsdcpio/debian/shlibs


这些命令是从哪里来的?我看不出来。

dh_makeshlibs debhelper工具应该为您解决这个问题,可能是在二元拱门规则下。您正在使用debhelper,对吗?

dh_makeshlibs debhelper工具应该为您解决这个问题,可能是在二元拱规则下。您正在使用debhelper,对吗?

是的,我正在使用debhelper。所以,我不必将.shlip文件添加到debian目录?对。如果dh_makeshlibs在构建过程中的正确点被调用,那么它将扫描debian/$packagename构建目录中的任何共享库,然后在新包的postinst和prerm中对ldconfig进行适当的调用,以便在正确的时间生成.shlibs文件。如果这不起作用?你知道我如何调试它吗?这是我的规则文件:。如果你能看一看,那就太棒了!我没有看到任何明显的问题。你介意把包源代码的其余部分上传到某个地方吗?当然可以!以下是链接:是的,我正在使用debhelper。所以,我不必将.shlip文件添加到debian目录?对。如果dh_makeshlibs在构建过程中的正确点被调用,那么它将扫描debian/$packagename构建目录中的任何共享库,然后在新包的postinst和prerm中对ldconfig进行适当的调用,以便在正确的时间生成.shlibs文件。如果这不起作用?你知道我如何调试它吗?这是我的规则文件:。如果你能看一看,那就太棒了!我没有看到任何明显的问题。你介意把包源代码的其余部分上传到某个地方吗?当然可以!以下是链接: